readFragment<TData, TVars> method

Future<TData?> readFragment<TData, TVars>(
  1. FragmentRequest<TData, TVars> request, {
  2. bool optimistic = true,
})

Implementation

Future<TData?> readFragment<TData, TVars>(
    FragmentRequest<TData, TVars> request,
    {bool optimistic = true}) {
  return _handleSingleResponseCommand(
    (sendPort) =>
        (ReadFragmentCommand(sendPort, request, optimistic: optimistic)),
  );
}