Store class

Mixed in types

Constructors

Store()

Properties

hashCode int
The hash code for this object.
no setterinherited
registry Map<Type, StoreFactory>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.get
inherited
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