WriteMode enum

When a PersistedCell writes through to its adapter.

Inheritance
Available extensions

Values

immediate → const WriteMode

Write on every value change. Highest durability, most I/O.

debounced → const WriteMode

Write after a quiet period. Balanced; the default.

onAppPause → const WriteMode

Write only when the app pauses. Lowest I/O, most loss on crash.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

defaultDebounce → const Duration
The default debounce duration for WriteMode.debounced.
values → const List<WriteMode>
A constant List of the values in this enum, in order of their declaration.