Get class

Singleton to save dependencies

Properties

dependencies Map<String, Singleton>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
delete all dependencies
factoryFind<T, A>({A? arguments}) → T
Search and return one instance T from the hashmap
factoryPut<T, A>(_FactoryBuilderCallback<T, A> builder) → void
Creates a new Instance from the <S>builder() callback.
find<T>({String? tag}) → T
Search and return one instance T from the hashmap
has<T>({String? tag}) bool
check if one dependency is available to call to the find method
lazyPut<T>(_LazyBuilderCallback<T> builder, {String? tag, bool autoRemove = false, _RemoveCallback<T>? onRemove}) → void
Creates a new Instance lazily from the <S>builder() callback.
lazyRemove<T>({String? tag}) → void
removes an instance from the lazy hasmap
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put<T>(T value, {String? tag, bool autoRemove = false, _RemoveCallback<T>? onRemove}) → void
Insert an Instance into the hashmap
remove<T>({String? tag}) → T?
removes an instance from the hasmap
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

i Get
no setter