ReactiveServiceMixin mixin Null safety
Adds functionality to easily listen to all reactive values in a service
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
listenToReactiveValues(
List reactiveValues) → void - List to the values and react when there are any changes
-
addListener(
void listener()) → void - Registers a listener with this service
-
removeListener(
void listener()) → void - Removes a listener from the service
-
notifyListeners(
) → void - Notifies all the listeners attached to this service
-
toString(
) → String -
A string representation of this object. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited