Indicates that the result of a Pipe
transformation has changed
even though the reference has not changed.
The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored.
Example
if (_latestValue == _latestReturnedValue) {
return this._latestReturnedValue;
} else {
_latestReturnedValue = _latestValue;
return WrappedValue.wrap(_latestValue); // this will force update
}
Static Methods
-
wrap(
value) → WrappedValue
Constructors
- WrappedValue(wrapped)
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - wrapped → dynamic
-
read / write
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited