Injector class

Constructors

Injector()
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

get<T>() → T
getAll<T>() List<T>
getAllAsync<T>() Future<List<T>>
getAsync<T>() Future<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register<T>(T instance) → void
registerFactory<T>(T factory()) → void
registerFactoryAsync<T>(Future<T> factory()) → void
registerLazySingleton<T>(T factory()) → void
registerSingleton<T>(T instance) → void
registerSingletonIfAbsent<T>(T factory()) → void
reset() → void
toString() String
A string representation of this object.
inherited
unregister<T>() → void

Operators

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