undo method

Future undo()

call last event

Implementation

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