fromJson method
Implementation
@override
UListPurpose fromJson(String json) {
final knownValue = KnownListPurpose.valueOf(json);
return knownValue != null
? UListPurpose.knownValue(data: knownValue)
: UListPurpose.unknownValue(data: json);
}