UIEventInit constructor

UIEventInit({
  1. Window? view,
  2. int? detail,
})

Implementation

factory UIEventInit({Window? view, int? detail}) =>
    UIEventInit._(view: view ?? undefined, detail: detail ?? 0);