factory PromiseRejectionEvent(String type, Map eventInitDict) { var eventInitDict_1 = convertDartToNative_Dictionary(eventInitDict); return PromiseRejectionEvent._create_1(type, eventInitDict_1); }