V0toV1Migration class
Migration from schema version 0 to 1. Adds the 'conflictCount', 'devices', 'lastSuccessfulSyncTime', 'syncStatus', 'syncVersion', 'serverTimestamp', 'errorMessage', 'retryCount', 'syncDuration' fields to DatumSyncMetadata.
Constructors
Properties
- fromVersion → int
-
The schema version this migration starts from.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toVersion → int
-
The schema version this migration migrates to.
no setteroverride
Methods
-
migrate(
Map< String, dynamic> data) → Map<String, dynamic> -
Executes the migration logic on a single raw data object.
The map represents a single entity serialized to a map.
override
-
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