RemoveMarkerOp class final

Operation to remove a marker.

Inheritance

Constructors

RemoveMarkerOp({required Key key, int index = -1, Marker? removed})
const

Properties

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

Methods

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

Operators

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