value property
String?
value
The actual value/key for media types used in Tautulli.
Implementation
String? get value {
switch(this) {
case TautulliMediaType.MOVIE: return 'movie';
case TautulliMediaType.SHOW: return 'show';
case TautulliMediaType.SEASON: return 'season';
case TautulliMediaType.EPISODE: return 'episode';
case TautulliMediaType.ARTIST: return 'artist';
case TautulliMediaType.ALBUM: return 'album';
case TautulliMediaType.TRACK: return 'track';
case TautulliMediaType.LIVE: return 'live';
case TautulliMediaType.COLLECTION: return 'collection';
case TautulliMediaType.NULL: return '';
default: return null;
}
}