fromJson method

Implementation

@override
UContentLabelPrefVisibility fromJson(String json) {
  final knownValue = KnownContentLabelPrefVisibility.valueOf(json);

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