undo method

Future undo()

Rolls back to the previous value from the history

Implementation

Future<dynamic> undo() {
  if (_scopeCommand == null) {
    throw EventBusException("Scope<${T..runtimeType}> not initalize");
  }
  return _scopeCommand!.undo();
}