bifrosted 0.5.4
bifrosted: ^0.5.4 copied to clipboard
The rainbow bridge connecting your app to APIs. A lightweight REST API client and repository pattern with caching, offline support, and error handling.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bifrostedThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bifrosted: ^0.5.4Alternatively, 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:bifrosted/bifrosted.dart';