fromJson method

Implementation

@override
UCreateRecordValidationStatus fromJson(String json) {
  final knownValue = KnownCreateRecordValidationStatus.valueOf(json);

  return knownValue != null
      ? UCreateRecordValidationStatus.knownValue(data: knownValue)
      : UCreateRecordValidationStatus.unknownValue(data: json);
}