connectToDevice method
Connects to the device.
Implementation
@override
Future<void> connectToDevice(MidiDevice device, {List<MidiPort>? ports}) {
return _methodChannel.invokeMethod(
'connectToDevice', {"device": device.toDictionary, "ports": ports});
}