UpdateOperation class
UpdateOperation represents an attributes update operation.
Constructors
- UpdateOperation(Path path, Attributes attributes, Attributes oldAttributes)
-
const
-
UpdateOperation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- attributes → Attributes
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- oldAttributes → Attributes
-
final
- path → Path
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Path? path}) → Operation -
override
-
invert(
) → Operation -
Inverts the operation.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns the JSON representation of the operation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override