onUpdate<T extends Model> static method
Generates a subscription request for the update of any instance of the modelType
.
final request = ModelSubscriptions.onUpdate(Todo.classType);
Implementation
static GraphQLRequest<T> onUpdate<T extends Model>(ModelType<T> modelType) {
return ModelSubscriptionsFactory.instance.onUpdate<T>(modelType);
}