mergeWith method

UndoableCommand<State>? mergeWith(
  1. UndoableCommand<State> next
)

Attempts to merge next into this command, returning a replacement.

Return null when no merge is possible.

Implementation

UndoableCommand<State>? mergeWith(UndoableCommand<State> next) => null;