Store class
Constructors
- Store()
Properties
Methods
-
add<
T> (T instance) → void -
inherited
-
addFactory<
T> (FactoryDelegate< T> factory) → void -
inherited
-
addLazy<
T> (ResolverCreateDelegate< T> delegate) → void -
inherited
-
addTransient<
T> (LocatorCreateDelegate< T> delegate) → void -
inherited
-
get<
T> () → T -
This cannot be used before the store is initialised
Due to the fact services may implement AsyncInit
override
-
init(
) → Future< void> -
Activates registered factories (except
TransientFactory
) This will enable a safe use of Locator.getinherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve<
T> () → Future< T> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited