ConnectionBinding<T> class

A binding between a connection event and its callback.

Constructors

ConnectionBinding(String event, T callback)
Constructs a ConnectionBinding object.

Properties

callback ↔ T
The callback function associated with the connection event.
getter/setter pair
event String
The name of the connection event.
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

getCallback() → T
Retrieves the callback function associated with the connection event.
getEvent() String
Retrieves the name of the connection event.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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