mobile_api 0.0.9+16
mobile_api: ^0.0.9+16 copied to clipboard
Typed REST and GraphQL API helpers for Flutter apps, with token refresh, secure cache storage, multipart uploads, and network checks.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mobile_apiWith Flutter:
$ flutter pub add mobile_apiThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mobile_api: ^0.0.9+16Alternatively, 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:mobile_api/mobile_api.dart';