Channels class

Handles a channel map.

Annotations
  • @JS()

Constructors

Channels()
factory

Properties

channels ChannelTable
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(String name, Pusher pusher) → dynamic
Creates or retrieves an existing channel by its name.
all() List<Channel>
Returns a list of all channels
disconnect() → dynamic
Proxies disconnection signal to all channels.
find(String name) → dynamic
Finds a channel by its name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String name) → dynamic
Removes a channel from the map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited