fromJson static method
Implementation
static IFactRecurrence? fromJson(dynamic data) {
if (data == null) return null;
switch ("$data") {
case "YEARLY": return IFactRecurrence.yearly_;
case "MONTHLY": return IFactRecurrence.monthly_;
case "UNKNOWN": return IFactRecurrence.unknown_;
default: return FactRecurrence.unknown("$data");
}
}