DeleteGlobalOperationRequest.fromJson constructor

DeleteGlobalOperationRequest.fromJson(
  1. Object? j
)

Implementation

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