UpdateMarkerOp class final
Operation to update a marker.
Constructors
- UpdateMarkerOp({required Marker oldMarker, required Marker newMarker, int index = -1})
-
const
Properties
Methods
-
apply(
List< Marker> list) → MarkerOp -
Applies this operation to the
currentlist.override -
canMerge(
Op< Marker> next) → bool -
Checks if this operation can be merged with
other.override -
merge(
Op< Marker> next) → MarkerOp -
Merges this operation with
other, returning a new operation.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
revert(
List< Marker> list) → MarkerOp -
Reverts this operation from the
currentlist.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited