ErrorEvent constructor
ErrorEvent(
- String type, [
- ErrorEventInit? eventInitDict
Implementation
factory ErrorEvent(String type, [ErrorEventInit? eventInitDict]) =>
ErrorEvent._(type, eventInitDict ?? undefined);