stopMidiNote method

  1. @override
Future<String?> stopMidiNote({
  1. required int midi,
})

Use this when stopping the sound onTouchUp or to cancel a long file. Not needed if playing midi onTap.

Implementation

@override
Future<String?> stopMidiNote({required int midi}) async {
  return _channel.invokeMethod('stop_midi_note', {'note': midi});
}