ObjectBoxInit class
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 Methods
-
attach(
{String? directory}) → Future< ObjectBoxInit> - attaches to a existing running db, usefull for isolates
-
create(
{String? directory}) → Future< ObjectBoxInit> -
Create an instance of ObjectBox to use throughout the app.
directoryoptional custom directory for the database (useful for testing)