midiMessageEvent constant Null safety

EventStreamProvider<MidiMessageEvent> const midiMessageEvent

Static factory designed to expose midimessage events to event handlers that are not necessarily instances of MidiInput.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider midiMessageEvent =
    const EventStreamProvider('midimessage')