better_client 0.1.5 better_client: ^0.1.5 copied to clipboard
A simple http client that speeds up error handling and facilitates parsing of the json returned by the server.
Use this package as a library
Depend on it
Run this command:
$ flutter pub add better_client
This will add a line like this to your package's pubspec.yaml (and run an implicit
flutter pub get):
dependencies: better_client: ^0.1.5
Alternatively, your editor might support or
flutter pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use: