ServiceLocator<TState> class
A locator that allows to create external services for the current state.
Constructors
-
ServiceLocator(Context<
TState> _context, List<Service> services) -
Create a locator from a state reader.
const
Properties
Methods
-
create<
TService> ([String name = Service.defaultName]) → TService - Create a Service instance for the current state.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited