ObjectBoxInit class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store Store
The Store of this app.
latefinal

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. directory optional custom directory for the database (useful for testing)