ExtendableEvent constructor

ExtendableEvent(String type, [ Map eventInitDict ])

Implementation

factory ExtendableEvent(String type, [Map eventInitDict]) {
  if (eventInitDict != null) {
    var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict);
    return ExtendableEvent._create_1(type, eventInitDict_1);
  }
  return ExtendableEvent._create_2(type);
}