OfflineAction class abstract
Offline action interface
- Implementers
Constructors
Properties
- conflictStrategy → ConflictStrategy
-
no setter
- createdAt → DateTime
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
-
payload
→ Map<
String, dynamic> -
no setter
- retryCount ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setter
Methods
-
execute(
) → Future - Execute the action
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to JSON
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → OfflineAction - Deserialize from JSON