openStore function

Store openStore({
  1. String? directory,
  2. int? maxDBSizeInKB,
  3. int? fileMode,
  4. int? maxReaders,
  5. bool queriesCaseSensitiveDefault = true,
  6. String? macosApplicationGroup,
})

Open an ObjectBox store with the model declared in this file.

Implementation

Store openStore(
        {String? directory,
        int? maxDBSizeInKB,
        int? fileMode,
        int? maxReaders,
        bool queriesCaseSensitiveDefault = true,
        String? macosApplicationGroup}) =>
    Store(getObjectBoxModel(),
        directory: directory,
        maxDBSizeInKB: maxDBSizeInKB,
        fileMode: fileMode,
        maxReaders: maxReaders,
        queriesCaseSensitiveDefault: queriesCaseSensitiveDefault,
        macosApplicationGroup: macosApplicationGroup);