DBBuilder class
Annotation for initialize databases and generate methods for access to databases. It must be applied on an abstract class. You don't need to do anything extra.
@DBBuilder(databases: [NoteDB])
abstract class DatabaseBuilder {}
After define this class, you can create and access to database like this:
NoteDB db = await DBContext.getNoteDB();
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- fields ↔ _DBBuilderFields
-
getter/setter pair