toValue method
Implementation
String toValue() {
switch (this) {
case InventoryFrequency.daily:
return 'Daily';
case InventoryFrequency.weekly:
return 'Weekly';
}
}
String toValue() {
switch (this) {
case InventoryFrequency.daily:
return 'Daily';
case InventoryFrequency.weekly:
return 'Weekly';
}
}