OperationCheckResult.fromJson constructor

OperationCheckResult.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory OperationCheckResult.fromJson(Map<String, Object?> json) {
  return OperationCheckResult(
    operation: OperationCheckResultOperation.fromValue(
        json[r'operation'] as String? ?? ''),
    targetType: json[r'targetType'] as String? ?? '',
  );
}