value property

String? value

The actual value/key for section types used in Tautulli.

Implementation

String? get value {
    switch(this) {
        case TautulliSectionType.MOVIE: return 'movie';
        case TautulliSectionType.SHOW: return 'show';
        case TautulliSectionType.ARTIST: return 'artist';
        case TautulliSectionType.PHOTO: return 'photo';
        case TautulliSectionType.NULL: return '';
    }
}