service_client 0.1.1 copy "service_client: ^0.1.1" to clipboard
service_client: ^0.1.1 copied to clipboard

An http client interface.

example/example.dart

import 'services/json_placeholder_service.dart';

/// A simple example that uses JsonPlaceholderService
void main() async {
  print('Calling JSONPlaceholder public API...\n');

  final todo = await JsonPlaceholderService.getTodo(1);

  print('Received TODO item:');
  print(todo);
}
0
likes
150
points
132
downloads

Publisher

verified publisherccisne.dev

Weekly Downloads

An http client interface.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

cryptography, http, path

More

Packages that depend on service_client