Channel<T> class

Represents a strongly typed communication topic inside the global Channeler event system. Every channel contains a unique identifier and a generic type definition which helps maintain safer communication between widgets, services, repositories, controllers, and application logic.

Constructors

Channel(String name)
Creates a strongly typed channel using the provided unique string name. This channel instance can later be registered into the Channeler system and then used throughout the application for publishing and subscribing to events associated with this communication topic.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Unique identifier used internally for locating and managing listeners belonging to the same communication topic. Multiple parts of the application can subscribe to the same channel and receive synchronized updates whenever events are emitted through the Channeler singleton.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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