value property

String get value

Implementation

String get value {
  switch (this) {
    case WorkoutDuration.long: return 'Long';
    case WorkoutDuration.short: return 'Short';
  }
}