toBandwidthUnits method

BandwidthUnits toBandwidthUnits()

Implementation

BandwidthUnits toBandwidthUnits() {
  switch (this) {
    case 'GHz':
      return BandwidthUnits.gHz;
    case 'MHz':
      return BandwidthUnits.mHz;
    case 'kHz':
      return BandwidthUnits.kHz;
  }
  throw Exception('$this is not known in enum BandwidthUnits');
}