MusicSort class
Constructors
- MusicSort({MusicSortKey key = MusicSortKey.name, bool ascending = true})
-
const
Properties
- ascending → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- key → MusicSortKey
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
arrowFor(
MusicSortKey k) → String - ' ↑' ou ' ↓' na chave ativa, nada nas outras.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toggled(
MusicSortKey tapped) → MusicSort - Toca a mesma chave (inverte a direção) ou troca de chave (volta à direção padrão dela).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override