Store class

Simple instance store

Constructors

Store()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add<T>(T instance) → dynamic
registers instances
addLazy<T>(StoreFactoryFunc<T> func) → dynamic
registers lazy instances ( they get instantiated on first request )
addTransient<T>(StoreFactoryFunc<T> func) → dynamic
registers transient instances ( a new instance is provider per request )
call<T>() → dynamic
clear() → dynamic
get<T>() → T
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