AddEventListenerOptions constructor

AddEventListenerOptions({
  1. bool? passive,
  2. bool? once,
  3. AbortSignal? signal,
})

Implementation

factory AddEventListenerOptions(
        {bool? passive, bool? once, AbortSignal? signal}) =>
    AddEventListenerOptions._(
        passive: passive ?? undefined,
        once: once ?? false,
        signal: signal ?? undefined);