playNext method

void playNext()

Plays the entry after the one playing, wrapping past the last.

Implementation

void playNext() {
  final entries = _sprite.entries;
  play(entries[(_current.index + 1) % entries.length].key);
}