toTelemetry method
Implementation
Telemetry toTelemetry() {
switch (this) {
case 'On':
return Telemetry.on;
case 'Off':
return Telemetry.off;
}
throw Exception('$this is not known in enum Telemetry');
}
Telemetry toTelemetry() {
switch (this) {
case 'On':
return Telemetry.on;
case 'Off':
return Telemetry.off;
}
throw Exception('$this is not known in enum Telemetry');
}