markDone method
- String hash,
- ChordPlayItem item
O item item da música hash fica feito. Refazer um item feito não muda nada.
Implementation
ChordPlayState markDone(String hash, ChordPlayItem item) => ChordPlayState(
hash: this.hash,
played: {...played, hash},
done: {
...done,
hash: {...doneOf(hash), item.key},
},
);