toBaseModelName method
Implementation
BaseModelName toBaseModelName() {
switch (this) {
case 'NarrowBand':
return BaseModelName.narrowBand;
case 'WideBand':
return BaseModelName.wideBand;
}
throw Exception('$this is not known in enum BaseModelName');
}