build static method
Builds ObjectboxAdapter.
path
: The base location of the Objectbox storagemaxDBSizeInKB
: The max DB sizefileMode
: The file modemaxReaders
: The number of maximum readersqueriesCaseSensitiveDefault
: If the queries are case sensitive
Implementation
static Future<ObjectboxAdapter> build(String path,
{int? maxDBSizeInKB,
int? fileMode,
int? maxReaders,
bool? queriesCaseSensitiveDefault}) {
return Future.value(ObjectboxAdapter._(path,
maxDBSizeInKB: maxDBSizeInKB,
fileMode: fileMode,
maxReaders: maxReaders,
queriesCaseSensitiveDefault: queriesCaseSensitiveDefault));
}