local static method

LocalConfiguration local(
  1. List<SchemaObject> schemaObjects, {
  2. InitialDataCallback? initialDataCallback,
  3. int schemaVersion = 0,
  4. String? fifoFilesFallbackPath,
  5. String? path,
  6. List<int>? encryptionKey,
  7. bool disableFormatUpgrade = false,
  8. bool isReadOnly = false,
  9. ShouldCompactCallback? shouldCompactCallback,
  10. MigrationCallback? migrationCallback,
  11. int? maxNumberOfActiveVersions,
  12. 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);