FactoryProvider<T extends Object>.forToken constructor
const
FactoryProvider<T extends Object>.forToken (
- OpaqueToken<
T> token, - Function useFactory, {
- List<
Object> ? deps,
Implementation
const factory FactoryProvider.forToken(
OpaqueToken<T> token,
Function useFactory, {
List<Object>? deps,
}) = FactoryProvider<T>._;