Scope<T> class
mixin
EventBus, if is not model bus, delete node what not have handler and listeners Scope add listener for T event and use Command for call event
Constructors
- Scope()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lastCall
→ (T?, String?, Map<
String, String> ?)? -
no setter
- lastData ↔ T?
-
getter/setter pair
- onUpdate ↔ void Function(T newData)?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scopeBus → EventBus?
-
no setter
Methods
-
call(
T newData, {String? fragment, Map< String, String> ? arguments}) → Future -
disposeScope(
{bool removeHandler = true}) → void -
initScope(
EventBus bus, {T? initalData, bool initalDataNeedExecute = true, String? path, int maxLenForUndo = 0, void onUpdate(T newData)?}) → void -
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 - call last event
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited