fromString static method
- String? value
Implementation
static CodMethod? fromString(String? value) {
switch (value) {
case 'CASH':
return CodMethod.cash;
case 'CHECK':
return CodMethod.check;
case 'MONEY_ORDER':
return CodMethod.moneyOrder;
default:
return null;
}
}