writeQuery<TData extends Object, TVars> method

Future<void> writeQuery<TData extends Object, TVars>(
  1. OperationRequest<TData, TVars> request,
  2. TData response, {
  3. OperationRequest<TData, TVars>? optimisticRequest,
})

Implementation

Future<void> writeQuery<TData extends Object, TVars>(
  OperationRequest<TData, TVars> request,
  TData response, {
  OperationRequest<TData, TVars>? optimisticRequest,
}) {
  return _handleSingleResponseCommand((sendPort) =>
      WriteQueryCommand(sendPort, request, response, optimisticRequest));
}