send method

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

Send the message bytes to all connected devices

Implementation

@override
void send({String? deviceId, int? timestamp}) {
  data = Uint8List(3);
  data[0] = 0x90 + channel;
  data[1] = note;
  data[2] = velocity;
  super.send(deviceId: deviceId, timestamp: timestamp);
}