toOnOff method

String toOnOff()

Implementation

String toOnOff() {
  return this ? 'On' : 'Off';
}