WidgetOptions$Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation constructor

WidgetOptions$Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation({
  1. String? operationName,
  2. FetchPolicy? fetchPolicy,
  3. ErrorPolicy? errorPolicy,
  4. CacheRereadPolicy? cacheRereadPolicy,
  5. Object? optimisticResult,
  6. Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation? typedOptimisticResult,
  7. Context? context,
  8. OnMutationCompleted$Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation? onCompleted,
  9. OnMutationUpdate<Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation>? update,
  10. OnError? onError,
})

Implementation

WidgetOptions$Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation({
  String? operationName,
  graphql.FetchPolicy? fetchPolicy,
  graphql.ErrorPolicy? errorPolicy,
  graphql.CacheRereadPolicy? cacheRereadPolicy,
  Object? optimisticResult,
  Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation?
  typedOptimisticResult,
  graphql.Context? context,
  OnMutationCompleted$Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation?
  onCompleted,
  graphql.OnMutationUpdate<
    Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation
  >?
  update,
  graphql.OnError? onError,
}) : onCompletedWithParsed = onCompleted,
     super(
       operationName: operationName,
       fetchPolicy: fetchPolicy,
       errorPolicy: errorPolicy,
       cacheRereadPolicy: cacheRereadPolicy,
       optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(),
       context: context,
       onCompleted: onCompleted == null
           ? null
           : (data) => onCompleted(
               data,
               data == null
                   ? null
                   : _parserFn$Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation(
                       data,
                     ),
             ),
       update: update,
       onError: onError,
       document:
           documentNodeMutationSaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation,
       parserFn:
           _parserFn$Mutation$SaveEyeGraphUtil_UpdateDeviceAlarmThresholdsMutation,
     );