start method

void start(
  1. Stream<PlayedNote> notes
)

Escuta notes até stop.

Implementation

void start(Stream<PlayedNote> notes) {
  _subscription ??= notes.listen(_onNote);
}