JsonOperationRequest constructor
JsonOperationRequest({
- required Operation operation,
- required FetchPolicy fetchPolicy,
- String? requestId,
- String? updateCacheHandlerKey,
- Map<
String, dynamic> ? updateCacheHandlerContext, - bool executeOnListen = true,
- required Map<
String, dynamic> vars, - Map<
String, dynamic> ? updateResult()?, - Map<
String, dynamic> ? optimisticResponse, - Context? context,
Implementation
JsonOperationRequest(
{required this.operation,
required this.fetchPolicy,
this.requestId,
this.updateCacheHandlerKey,
this.updateCacheHandlerContext,
this.executeOnListen = true,
required this.vars,
this.updateResult,
this.optimisticResponse,
this.context});