toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Telemetry.on:
      return 'On';
    case Telemetry.off:
      return 'Off';
  }
}