0 purchases
dorm bloc database
dorm_bloc_database #
A dORM's BaseReference and BaseQuery implementation using bloc.
Getting started #
Run the following commands in your command prompt:
dart pub add dorm_bloc_database
copied to clipboard
Using dorm_annotations and
dorm_generator, generate your dORM code:
dart run build_runner build
copied to clipboard
This will create a Dorm class, which you can use to connect to this package.
Usage #
Create a Reference:
void main() {
final Reference reference = Reference();
}
copied to clipboard
Then pass the reference created above to your generated Dorm class:
void main() {
final Dorm dorm = Dorm(reference);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.