mutate<T> method

GraphQLOperation<T> mutate<T>({
  1. required GraphQLRequest<T> request,
})

Sends a GraphQL mutate request and returns the response in a cancelable GraphQLOperation.

See https://docs.amplify.aws/lib/graphqlapi/mutate-data/q/platform/flutter/ for more information.

Implementation

GraphQLOperation<T> mutate<T>({required GraphQLRequest<T> request}) =>
    identifyCall(
      ApiCategoryMethod.mutate,
      () => defaultPlugin.mutate(request: request),
    );