requestMidiAccess method Null safety

  1. @JSName('requestMIDIAccess')
Future requestMidiAccess(
  1. [Map? options]
)

Implementation

@JSName('requestMIDIAccess')
Future requestMidiAccess([Map? options]) {
  var options_dict = null;
  if (options != null) {
    options_dict = convertDartToNative_Dictionary(options);
  }
  return promiseToFuture(
      JS("", "#.requestMIDIAccess(#)", this, options_dict));
}