StateChannel<S extends ChannelSignal> class abstract

This class must be inherited to create your own state channel.

abstract class MyChannelSignal extends ChannelSignal{}

class MyChannel extends StateChannel<MyChannelSignal>{
   ...
}
Implemented types

Constructors

StateChannel()

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<S>
Stream as Broadcast Stream.
no setter

Methods

add(S signal) → void
afterInitState() → void
inherited
dispose() Future<void>
Closes the StateChannel. The ChannelProvider calls the dispos method itself.
override
initState() → void
inherited
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