NChannel class

Constructors

NChannel(Channel channel)

Properties

channel Channel
final
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

bind(String eventName, void onEvent(NEvent event)) Future<void>
Bind to listen for events sent on the given channel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
trigger(String eventName, {String data}) Future<void>
Trigger eventName (will be prefixed with "client-" in case you have not) for Channel.
unbind(String eventName) Future<void>

Operators

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