brick_offline_first_abstract 0.0.1+1 brick_offline_first_abstract: ^0.0.1+1 copied to clipboard
Annotations and models required by the Offline First domain.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add brick_offline_first_abstract
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
brick_offline_first_abstract: ^0.0.1+1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:brick_offline_first_abstract/abstract.dart';
import 'package:brick_offline_first_abstract/annotations.dart';
import 'package:brick_offline_first_abstract/offline_first_model.dart';
import 'package:brick_offline_first_abstract/offline_first_serdes.dart';