RemoveOverlayOp class final

Operation to remove an overlay.

Inheritance

Constructors

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

Properties

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

Methods

apply(List<InteractiveOverlayImage> list) → OverlayOp
Applies this operation to the current list.
override
canMerge(Op<InteractiveOverlayImage> next) → bool
Checks if this operation can be merged with other.
override
copyWith({Key? key, int? index, InteractiveOverlayImage? removed}) → RemoveOverlayOp
merge(Op<InteractiveOverlayImage> next) → OverlayOp
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<InteractiveOverlayImage> list) → OverlayOp
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