toScaleUnit method
Implementation
ScaleUnit toScaleUnit() {
switch (this) {
case 'PERCENT':
return ScaleUnit.percent;
}
throw Exception('$this is not known in enum ScaleUnit');
}
ScaleUnit toScaleUnit() {
switch (this) {
case 'PERCENT':
return ScaleUnit.percent;
}
throw Exception('$this is not known in enum ScaleUnit');
}