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