encode static method
Implementation
static String encode(PartnershipStatus value) {
switch (value) {
case PartnershipStatus.active:
return 'active';
case PartnershipStatus.complicated:
return 'complicated';
case PartnershipStatus.past:
return 'past';
}
}