MidiConnectionEvent(String type, [ Map eventInitDict ])

Source

@DomName('MIDIConnectionEvent.MIDIConnectionEvent')
@DocsEditable()
factory MidiConnectionEvent(String type, [Map eventInitDict]) {
  if (eventInitDict != null) {
    var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict);
    return _blink.BlinkMIDIConnectionEvent.instance
        .constructorCallback_2_(type, eventInitDict_1);
  }
  return _blink.BlinkMIDIConnectionEvent.instance
      .constructorCallback_1_(type);
}