local static method
LocalConfiguration
local(
- List<
SchemaObject> schemaObjects, { - InitialDataCallback? initialDataCallback,
- int schemaVersion = 0,
- String? fifoFilesFallbackPath,
- String? path,
- List<
int> ? encryptionKey, - bool disableFormatUpgrade = false,
- bool isReadOnly = false,
- ShouldCompactCallback? shouldCompactCallback,
- MigrationCallback? migrationCallback,
- int? maxNumberOfActiveVersions,
- bool shouldDeleteIfMigrationNeeded = false,
Constructs a LocalConfiguration
Implementation
static LocalConfiguration local(
List<SchemaObject> schemaObjects, {
InitialDataCallback? initialDataCallback,
int schemaVersion = 0,
String? fifoFilesFallbackPath,
String? path,
List<int>? encryptionKey,
bool disableFormatUpgrade = false,
bool isReadOnly = false,
ShouldCompactCallback? shouldCompactCallback,
MigrationCallback? migrationCallback,
int? maxNumberOfActiveVersions,
bool shouldDeleteIfMigrationNeeded = false,
}) =>
LocalConfiguration._(schemaObjects,
initialDataCallback: initialDataCallback,
schemaVersion: schemaVersion,
fifoFilesFallbackPath: fifoFilesFallbackPath,
path: path,
encryptionKey: encryptionKey,
disableFormatUpgrade: disableFormatUpgrade,
isReadOnly: isReadOnly,
shouldCompactCallback: shouldCompactCallback,
migrationCallback: migrationCallback,
maxNumberOfActiveVersions: maxNumberOfActiveVersions,
shouldDeleteIfMigrationNeeded: shouldDeleteIfMigrationNeeded);