MockBroadcastChannel class
In-process mock channel for tests and environments without BroadcastChannel.
- Implemented types
Constructors
- MockBroadcastChannel(String name)
-
Creates a MockBroadcastChannel for the given
name.
Properties
Methods
-
close(
) → void -
Close the channel.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postMessage(
dynamic message) → void -
Send a message to other tabs.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited