CancelAsyncQueryReasoningEngineRequest.fromJson constructor

CancelAsyncQueryReasoningEngineRequest.fromJson(
  1. Object? j
)

Implementation

factory CancelAsyncQueryReasoningEngineRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return CancelAsyncQueryReasoningEngineRequest(
    name: switch (json['name']) {
      null => '',
      Object $1 => decodeString($1),
    },
    operationName: switch (json['operationName']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}