Channel class

Constructors

Channel({required String name})

Properties

eventCallbacks Map<String, dynamic Function(dynamic event)>
getter/setter pair
globalCallback GlobalCallback?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(String eventName, dynamic callback(dynamic event)) → void
bindGlobal(GlobalCallback callback) → void
handleEvent(String eventName, Map<String, dynamic> data) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unbind(String eventName) → void
unbindGlobal() → void

Operators

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