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