toValue method

String toValue()

Implementation

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