SubscriptionEvent<T extends Model> class

An event containing the details of mutations that have occurred on the backend

Constructors

SubscriptionEvent({required T item, required ModelType<T> modelType, required EventType eventType})
An event containing the details of mutations that have occurred on the backend
const
SubscriptionEvent.fromMap(Map map, ModelType<T> modelType)
factory

Properties

eventType EventType
final
hashCode int
The hash code for this object.
no setterinherited
item → T
The item that was created, updated, or deleted
final
modelType ModelType<T>
The model type of the item that was created, updated, or deleted
final
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