CommandImpl<T> class

Implemented types

Constructors

CommandImpl(EventBus _bus, {String? path, int maxLen = 10})

Properties

bindedBus → EventBus
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
lastCall → (T, String?, Map<String, String>?)?
no setteroverride
maxLen → int
final
path → String?
no setteroverride
queueLenght → int
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, String?, 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