onUpdate<T extends Model> static method

GraphQLRequest<T> onUpdate<T extends Model>(
  1. ModelType<T> modelType
)

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);
}