restful_api 0.0.2
restful_api: ^0.0.2 copied to clipboard
A complete REST API client, empowering you to build your app effortlessly without reinventing the wheel. Supports OAuth2, JWT, and token store/refresh using Shared Preferences.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add restful_api
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
restful_api: ^0.0.2
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:restful_api/restful_api.dart';