BroadcastChannel$Typings extension

on

Properties

addEventListener → ({void Function<K$ extends Event>(BroadcastChannelEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on BroadcastChannel, provided by the BroadcastChannel$Typings extension

Overload accessor: $1, $2
no setter
close ↔ void Function()

Available on BroadcastChannel, provided by the BroadcastChannel$Typings extension

getter/setter pair
name String

Available on BroadcastChannel, provided by the BroadcastChannel$Typings extension

Returns the channel name (as passed to the constructor).
no setter
onmessage ↔ dynamic Function(MessageEvent)?

Available on BroadcastChannel, provided by the BroadcastChannel$Typings extension

getter/setter pair
onmessageerror ↔ dynamic Function(MessageEvent)?

Available on BroadcastChannel, provided by the BroadcastChannel$Typings extension

getter/setter pair
postMessage ↔ void Function([dynamic])

Available on BroadcastChannel, provided by the BroadcastChannel$Typings extension

getter/setter pair
removeEventListener → ({void Function<K$ extends Event>(BroadcastChannelEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on BroadcastChannel, provided by the BroadcastChannel$Typings extension

Overload accessor: $1, $2
no setter