StreamSignal<T> class
Signal converts Stream to Signal start listening on construct
- Inheritance
- Implementers
Constructors
-
StreamSignal.new(Stream<
T> stream, T value) - Use stream.toSignal() or stream.toSignalWithDefault()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSlots → bool
-
Has slot
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slots
→ Set<
Slot> -
Slots
finalinherited
- value ↔ T
-
Your value.
If you use as a setter notify listeners
getter/setter pairinherited
Methods
-
addSlot(
Slot slot) → void -
Add new slot
inherited
-
cancel(
) → Future< void> -
clearSlots(
) → void -
Clear all slots
inherited
-
combineWith(
List< Signal> signals) → Signal -
Listen any changes this and
notifiers
any changesinherited -
convert<
T> (T map(T)) → Signal< T> -
Map signal
inherited
-
emit(
) → void -
Sign to all slots
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeSlot(
Slot slot) → void -
Remove slot
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited