SeasonData
data class SeasonData(val season: Int, val name: String? = null, val displaySeason: Int? = null)(source)
Data class holds season info.
Parameters
season
To be mapped with episode season, not shown in UI if displaySeason is defined
name
To be shown next to the season like "Season
$displaySeason $
name" but if displaySeason is null then "$name"displaySeason
What to be displayed next to the season name, if null then the name is the only thing shown.