HubEventElementWithMetadata<M extends Model> class
The model and metadata associated with a DataStore outboxMutationProcessed
Hub event.
- Inheritance
-
- Object
- HubEventElement<
M> - HubEventElementWithMetadata
Constructors
- HubEventElementWithMetadata(M model, {required int version, required int lastChangedAt, bool? deleted})
-
const
-
HubEventElementWithMetadata.fromMap(Map<
String, Object?> serializedHubEventElement, ModelProviderInterface provider) -
factory
Properties
- deleted → bool
-
Whether or not the model was deleted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastChangedAt → int
-
The last time the model was updated locally, in seconds since epoch.
final
- model → M
-
The instance of the mutated model.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → int
-
The version of the model.
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