Configuration class Null safety Configuration
Configuration used to create a Realm instance
Properties
- fifoFilesFallbackPath → String?
-
Specifies the FIFO special files fallback location.
final
- hashCode → int
-
The hash code for this object.
read-only, inherited
- path ↔ String
-
The path where the Realm should be stored.
late, final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- schema → RealmSchema
-
The RealmSchema for this Configuration
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
flexibleSync(
User user, List< SchemaObject> schemaObjects, {String? fifoFilesFallbackPath, String? path, SyncErrorHandler syncErrorHandler = defaultSyncErrorHandler, SyncClientResetErrorHandler syncClientResetErrorHandler = const ManualSyncClientResetHandler(_defaultSyncClientResetHandler)}) → FlexibleSyncConfiguration - Constructs a FlexibleSyncConfiguration
-
inMemory(
List< SchemaObject> schemaObjects, {String? fifoFilesFallbackPath, String? path}) → InMemoryConfiguration - Constructs a InMemoryConfiguration
-
local(
List< SchemaObject> schemaObjects, {InitialDataCallback? initialDataCallback, int schemaVersion = 0, String? fifoFilesFallbackPath, String? path, bool disableFormatUpgrade = false, bool isReadOnly = false, ShouldCompactCallback? shouldCompactCallback}) → LocalConfiguration - Constructs a LocalConfiguration