fromJSON static method
Implementation
static PartnershipStatus fromJSON(String data) {
switch (data) {
case "active":
return PartnershipStatus.active;
case "complicated":
return PartnershipStatus.complicated;
case "past":
return PartnershipStatus.past;
default:
throw ArgumentError('Invalid PartnershipStatus entry value $data');
}
}