fromJson method

Implementation

@override
ULabelValueDefinitionSeverity fromJson(String json) {
  final knownValue = KnownLabelValueDefinitionSeverity.valueOf(json);

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