LoadSuccess<T> class
Successful load result.
- Inheritance
-
- Object
- LoadResult<
T> - LoadSuccess
Constructors
- LoadSuccess({required T value, required SaveEnvelope envelope, required bool migrated, required bool fromBackup})
-
Creates a success result.
const
Properties
- envelope → SaveEnvelope
-
The parsed envelope metadata.
final
- fromBackup → bool
-
Whether the data came from the backup store.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- migrated → bool
-
Whether a migration was applied.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
Loaded value after optional migration.
final
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