canMerge method
Checks if this operation can be merged with other.
Implementation
@override
bool canMerge(Op<InteractiveOverlayImage> next) =>
next is UpdateOverlayOp && next.newOverlay.key == newOverlay.key;
Checks if this operation can be merged with other.
@override
bool canMerge(Op<InteractiveOverlayImage> next) =>
next is UpdateOverlayOp && next.newOverlay.key == newOverlay.key;