value property

String get value

Implementation

String get value {
  switch (this) {
    case Tear.on:
      return 'ON';
    case Tear.off:
      return 'OFF';
  }
}