Channel class

Inheritance
Annotations
  • @anonymous
  • @JS()

Constructors

Channel()

Properties

name → String
read-only
pusher Pusher
read-only
subscribed → bool
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

authorize(String socketId, Function callback) → void
Authenticates the connection as a member of the channel. @param {String} socketId @param {Function} callback
trigger(String eventName, dynamic data) → bool
Triggers an event
bind(String eventName, [dynamic callback, dynamic context]) EventsDispatcher
inherited
bind_all(Function callback) EventsDispatcher
inherited
emit(String eventName, [dynamic data]) EventsDispatcher
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited
unbind(String eventName, [Function callback, dynamic context]) EventsDispatcher
inherited
unbind_all([String eventName, Function callback]) EventsDispatcher
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited