AlbumSortType enum

Enum that define values used to sort Albums.

Inheritance

Constructors

AlbumSortType()
const

Values

DEFAULT → const AlbumSortType

Returns the albums using the platform specific ordering mechanism. In android platform will return albms in alphabetical order using album title property as sort param.

ALPHABETIC_ARTIST_NAME → const AlbumSortType

Returns the albums sorted in alphabetic order using the album artist property as sort parameter

MORE_SONGS_NUMBER_FIRST → const AlbumSortType

Returns the albums sorted using numberOfSongs property as sort parameter. In This case the albums with greater number of songs will come first.

LESS_SONGS_NUMBER_FIRST → const AlbumSortType

Returns the albums sorted using numberOfSongs property as sort parameter. In This case the albums with smaller number of songs will come first.

MOST_RECENT_YEAR → const AlbumSortType

Returns the albums sorted using lastYear property as sort param. In this case the albums with more recent year value will come first.

OLDEST_YEAR → const AlbumSortType

Returns the albums sorted using lastYear property as sort param. In this case the albums with more oldest year value will come first.

CURRENT_IDs_ORDER → const AlbumSortType

Return the songs sorted by Ids using the same order that IDs appears in IDs query argument list.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AlbumSortType>
A constant List of the values in this enum, in order of their declaration.