value property

String? value

The actual value/key for sorting directions used in Radarr.

Implementation

String? get value {
    switch(this) {
        case RadarrSortDirection.ASCENDING: return 'ascending';
        case RadarrSortDirection.DESCENDING: return 'descending';
        default: return null;
    }
}