clean_api 1.2.0 clean_api: ^1.2.0 copied to clipboard
Cleanest way to implement Rest Api with caching using functional programming aproach.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add clean_api
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
clean_api: ^1.2.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:clean_api/clean_api.dart';