onDevicesChanged property
Stream<ConnectionEvent>
onDevicesChanged
List to device connect/disconnect events
Implementation
Stream<ConnectionEvent> get onDevicesChanged {
return MidiPlatform.instance.deviceEvents().map((dynamic event) {
return ConnectionEvent.fromMap(event);
});
}