MusicItem class

Um item da trilha: a camada, o trecho e a etapa. section é o índice do trecho na música; null é a música inteira.

Annotations

Constructors

MusicItem({required MusicItemLayer layer, required MusicStage stage, int? section})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
key → String
A chave de gravação: camada/trecho/etapa (o trecho é o índice, ou inteira). É ela que o estado guarda como feita.
no setter
layer → MusicItemLayer
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
section → int?
O índice do trecho na música; null é a música inteira.
final
stage → MusicStage
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

tryParse(String key) → MusicItem?
Lê a chave de gravação (camada/trecho/etapa). Devolve null se a chave não é de um item: partes que não existem, trecho negativo ou sem a forma canônica (01, +1).