DVDerivedSignal<T> class
A signal produced by operating on other signals.
Never constructed directly and never named in application code — it is what
a + b, price * quantity or first + last evaluate to. Operating on
signals yields a signal, so a derived value is simply a value, and there is
no separate derived-value constructor to reach for.
Reactivity rides on the sources. Reading a.value inside the derivation
subscribes the element exactly as it would in a build method, so a derived
signal stays current without subscription bookkeeping of its own — and
derivations compose, because a derivation over a derivation still bottoms
out in stored signals.
- Implemented types
- Available extensions
Constructors
- DVDerivedSignal(T _derive())
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
The current value, subscribing the reading element to changes.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → T -
The current value without subscribing.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator %(
Object other) → DVDerivedSignal< num> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension -
operator &(
Object other) → DVDerivedSignal< bool> -
Available on DVReadableSignal<
bool> , provided by the DVBooleanSignalX extension -
operator *(
Object other) → DVDerivedSignal< num> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension -
operator +(
Object other) → DVDerivedSignal< num> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension -
operator +(
Object other) → DVDerivedSignal< String> -
Available on DVReadableSignal<
String> , provided by the DVStringSignalX extension -
operator -(
Object other) → DVDerivedSignal< num> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension -
operator /(
Object other) → DVDerivedSignal< double> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension -
operator <(
Object other) → DVDerivedSignal< bool> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension -
operator <=(
Object other) → DVDerivedSignal< bool> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
Object other) → DVDerivedSignal< bool> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension -
operator >=(
Object other) → DVDerivedSignal< bool> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension -
operator ^(
Object other) → DVDerivedSignal< bool> -
Available on DVReadableSignal<
bool> , provided by the DVBooleanSignalX extension -
operator |(
Object other) → DVDerivedSignal< bool> -
Available on DVReadableSignal<
bool> , provided by the DVBooleanSignalX extension -
operator ~/(
Object other) → DVDerivedSignal< int> -
Available on DVReadableSignal<
num> , provided by the DVNumericSignalX extension