ErrorEventInit constructor

ErrorEventInit({
  1. String? message,
  2. String? filename,
  3. int? lineno,
  4. int? colno,
  5. dynamic error,
})

Implementation

factory ErrorEventInit(
        {String? message,
        String? filename,
        int? lineno,
        int? colno,
        dynamic error}) =>
    ErrorEventInit._(
        message: message ?? '',
        filename: filename ?? '',
        lineno: lineno ?? 0,
        colno: colno ?? 0,
        error: error ?? undefined);