Constructors
-
Command(EventBus busBinded, {String? path, int maxLen = 10})
-
maxLen is the call history length, at least 1.
factory
Methods
-
execute(T data, {String? fragment, Map<String, String>? arguments})
→ Future
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
undo()
→ Future
-
Sends the PREVIOUS value from the history back to the bus (one step back).
Returns null when there is nothing to roll back to (fewer than two calls).