query<T> method

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

Implementation

GraphQLOperation<T> query<T>({required GraphQLRequest<T> request}) {
  return plugins.length == 1
      ? plugins[0].query(request: request)
      : throw _pluginNotAddedException('Api');
}