toValue method
Implementation
String toValue() {
switch (this) {
case AccelerationMode.disabled:
return 'DISABLED';
case AccelerationMode.enabled:
return 'ENABLED';
case AccelerationMode.preferred:
return 'PREFERRED';
}
}