toTier method

Tier toTier()

Implementation

Tier toTier() {
  switch (this) {
    case 'Standard':
      return Tier.standard;
    case 'Bulk':
      return Tier.bulk;
    case 'Expedited':
      return Tier.expedited;
  }
  throw Exception('$this is not known in enum Tier');
}