SelfContainer class

Instance container following the application lifecycle.

reference: GetInstanceGetInstance._InstanceBuilderFactory

Constructors

SelfContainer()
factory

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

findInSelfContainer<S>({String? tag}) → S
Find dependency in application container
initializeAppContainer(BuiltinReflectableConfiguration builtinRefConfig) → void
Start point.
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

Static Methods

existDependency<S>({String? tag}) bool
Whether exist dependency in application container
findDependencyByCarrierName(Type type, String? tag) → dynamic
Find dependency from application container. Note that it will return null.