sendData method
Sends data to the currently connected device.
Data is an UInt8List of individual MIDI command bytes.
Implementation
@override
void sendData(Uint8List data, {int? timestamp, String? deviceId}) {
// print("send $data through method channel");
_methodChannel.invokeMethod('sendData',
{"data": data, "timestamp": timestamp, "deviceId": deviceId});
}