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