merge method
Merges this operation with other, returning a new operation.
Implementation
@override
OverlayOp merge(Op<InteractiveOverlayImage> next) {
if (next is UpdateOverlayOp) {
return UpdateOverlayOp(
oldOverlay: oldOverlay, newOverlay: next.newOverlay);
}
return this;
}