genre method

String genre()

Implementation

String genre() {
  switch (this) {
    case 1:
      return 'Bass';
    case 2:
      return 'Chill';
    case 3:
      return 'Drum Bass';
    case 4:
      return 'Drum Step';
    case 5:
      return 'Dubstep';
    case 6:
      return 'EDM';
    case 7:
      return 'Electronic';
    case 8:
      return 'Future House';
    case 9:
      return 'Hard Style';
    case 10:
      return 'House';
    case 11:
      return 'Indie';
    case 12:
      return 'Melodic Dubstep';
    case 13:
      return 'Trap';
    case 14:
      return 'Glitch Hop';
    case 15:
      return 'Phonk';
    case 16:
      return 'Future Bass';
    case 17:
      return 'Bass House';
    default:
      return '';
  }
}