Event<T>.error constructor

const Event<T>.error(
  1. Object object,
  2. StackTrace stackTrace
)

Creates an error event.

Implementation

const factory Event.error(Object object, StackTrace stackTrace) =
    ErrorEvent<T>;