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

A service client abstraction for Dart with the Result pattern. Includes an HTTP implementation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add service_client

With Flutter:

 $ flutter pub add service_client

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  service_client: ^0.2.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:service_client/service_client.dart';
1
likes
160
points
18
downloads

Documentation

API reference

Publisher

verified publisherccisne.dev

Weekly Downloads

A service client abstraction for Dart with the Result pattern. Includes an HTTP implementation.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

http

More

Packages that depend on service_client