SongSortType enum Null safety

Defines the sort type used for querySongs and queryAudios.

Constants

ALBUM → const SongSortType

ALBUM will return song list based in album name.

const SongSortType(2)
ARTIST → const SongSortType

ARTIST will return song list based in artist name.

const SongSortType(1)
DATE_ADDED → const SongSortType

DATE_ADDED will return song list based in data_added.

const SongSortType(4)
DISPLAY_NAME → const SongSortType

DISPLAY_NAME will return song list based in song display_name.

const SongSortType(6)
DURATION → const SongSortType

DURATION will return song list based in song duration.

const SongSortType(3)
SIZE → const SongSortType

SIZE will return song list based in song size.

const SongSortType(5)
TITLE → const SongSortType

TITLE will return song list using title as sort param.

const SongSortType(0)
values → const List<SongSortType>

A constant List of the values in this enum, in order of their declaration.

const List<SongSortType>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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