string static method

dynamic string(
  1. PageType pageType
)

Implementation

static string(PageType pageType) {
  switch (pageType) {
    case PageType.musicPageTypeAlbum:
      return 'MUSIC_PAGE_TYPE_ALBUM';
    case PageType.musicPageTypePlaylist:
      return 'MUSIC_PAGE_TYPE_PLAYLIST';
    case PageType.musicVideoTypeOmv:
      return 'MUSIC_VIDEO_TYPE_OMV';
  }
}