UndoCommand constructor

UndoCommand(
  1. {@required UndoCallback undo,
  2. @required UndoCallback redo}
)

Implementation

UndoCommand({
  @required this.undo,
  @required this.redo,
}) : _identifier = (_nextIdentifier++).toString();