toBandwidthUnits method
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');
}