CRadioController<T> class

Controller for managing the state of a radio.

Constructors

CRadioController({T? initialValue})
Constructs a CRadioController with an optional initial value.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<T?>
Retrieves the stream of boolean values representing the state of the radio.
no setter
value → T?
Retrieves the current value of the radio.
no setter

Methods

add(T value) → void
Adds a new value to the radio state.
dispose() → void
Disposes the controller.
listen(void onData(T?)) → void
Listens for changes in the radio state.
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