DbObjectBox constructor

DbObjectBox({
  1. bool attach = false,
  2. String? directory,
})

crates objectbox db instace attach to attach to already open instance (e.g. for isolates) directory optional custom directory for the database (useful for testing)

Implementation

DbObjectBox({bool attach = false, String? directory}) {
  _init(attach, directory);
}