CommandImpl<T> class
- Implemented types
-
- Command<
T>
- Command<
Constructors
-
CommandImpl(EventBus _bus, {List<
String> ? paths, int maxLen = 10})
Properties
- bindedBus → EventBus
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lastCall
→ (T, Map<
String, String> ?)? -
no setteroverride
- maxLen → int
-
final
-
paths
→ List<
String> ? -
no setteroverride
- queueLength → int
-
Call history length
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
T data, {String? fragment, Map< String, String> ? arguments}) → Future -
override
-
getLastCall(
) → (T, Map< String, String> ?)? -
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).
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited