RemovePolylineOp class final

Operation to remove a polyline.

Inheritance

Constructors

RemovePolylineOp({required Key key, int index = -1, InteractivePolyline<Object>? removed})
const

Properties

debugName String
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
index int
final
key Key
final
removed InteractivePolyline<Object>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(List<InteractivePolyline<Object>> list) PolylineOp
Applies this operation to the current list.
override
canMerge(Op<InteractivePolyline<Object>> next) bool
Checks if this operation can be merged with other.
override
copyWith({Key? key, int? index, InteractivePolyline<Object>? removed}) RemovePolylineOp
merge(Op<InteractivePolyline<Object>> next) PolylineOp
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<InteractivePolyline<Object>> list) PolylineOp
Reverts this operation from the current list.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited