dorm_bloc_database

pub package pub popularity pub likes pub points

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

Using dorm_annotations and dorm_generator, generate your dORM code:

dart run build_runner build

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();
}

Then pass the reference created above to your generated Dorm class:

void main() {
  final Dorm dorm = Dorm(reference);
}

Libraries

dorm_bloc_database