send method

void send({
  1. String? deviceId,
  2. int? timestamp,
})

Send the message bytes to all connected devices

Implementation

void send({String? deviceId, int? timestamp}) {
  // print("send $data");
  MidiCommand().sendData(data, deviceId: deviceId, timestamp: timestamp);
}