PatchUnchanged<V> class
final
The unchanged PatchValue: the field is left as it is.
- Inheritance
-
- Object
- PatchValue<
V> - PatchUnchanged
Constructors
- PatchUnchanged()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isSet → bool
-
Whether this value sets the field.
no setterinherited
- isUnchanged → bool
-
Whether this value leaves the field alone.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valueOrNull → V?
-
The value this patch sets, or
nullwhen isUnchanged.no setterinherited
Methods
-
fold<
R> (R onUnchanged(), R onSet(V value)) → R -
Bridges both shapes to a result of type
R:onUnchangedfor PatchUnchanged,onSetwith the value for PatchSet.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override