writeFragment<TData, TVars> method
Future<void>
writeFragment<TData, TVars>(
- FragmentRequest<
TData, TVars> request, - TData data, {
- OperationRequest<
TData, TVars> ? optimisticRequest,
Implementation
Future<void> writeFragment<TData, TVars>(
FragmentRequest<TData, TVars> request, TData data,
{OperationRequest<TData, TVars>? optimisticRequest}) {
return _handleSingleResponseCommand(
(sendPort) => WriteFragmentCommand(
sendPort,
request,
data,
optimisticRequest,
),
);
}