toScalingType method
Implementation
ScalingType toScalingType() {
switch (this) {
case 'Auto':
return ScalingType.auto;
case 'Linear':
return ScalingType.linear;
case 'Logarithmic':
return ScalingType.logarithmic;
case 'ReverseLogarithmic':
return ScalingType.reverseLogarithmic;
}
throw Exception('$this is not known in enum ScalingType');
}