LevelDB.open constructor
Open the database with the specified filePath
.
Implementation
factory LevelDB.open({
required Options options,
required String filePath,
}) {
assert(
options != null,
'LevelDB.open: "options" parameter is required',
);
assert(
filePath.isNotEmpty,
'LevelDB.open: "filePath" parameter is required',
);
return _LevelDB.open(
Lib.levelDB,
options: options,
name: filePath,
);
}