value property

String get value

Implementation

String get value {
  switch (this) {
    case DifficultyLevel.highDifficulty:
      return 'HighDifficulty';
    case DifficultyLevel.midDifficulty:
      return 'MidDifficulty';
    case DifficultyLevel.lowDifficulty:
      return 'LowDifficulty';
  }
}