Container class
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
-
allReady()
→ Future<void>
-
override
-
bind<T>({String? name, required T factory(ServiceContainer container, Map<String, dynamic>? options)})
→ void
-
override
-
bindInstance<T>(T instance, {String? name})
→ void
-
override
-
contains<T>({String? name})
→ bool
-
override
-
dispose()
→ Future<void>
-
override
-
initialize()
→ Future<void>
-
override
-
listRegistrations()
→ Map<String, List<String>>
-
override
-
make<T>({String? name, Map<String, dynamic>? options})
→ T
-
override
-
newScope()
→ ServiceContainer
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(Future<void> callback())
→ void
-
override
-
singleton<T>({String? name, required T factory(ServiceContainer container, [Map<String, dynamic>? options]), bool eager = false})
→ void
-
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
tryMake<T>({String? name, Map<String, dynamic>? options})
→ T?
-
override