bfast 5.0.0-beta.1 bfast: ^5.0.0-beta.1 copied to clipboard
BFast client sdk for flutter
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bfast
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
bfast: ^5.0.0-beta.1
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:bfast/adapter/cache.dart';
import 'package:bfast/adapter/realtime.dart';
import 'package:bfast/controller/cache.dart';
import 'package:bfast/controller/database.dart';
import 'package:bfast/controller/function.dart';
import 'package:bfast/controller/realtime.dart';
import 'package:bfast/model/raw_response.dart';
import 'package:bfast/model/real_time_response.dart';
import 'package:bfast/options.dart';
import 'package:bfast/util.dart';