ValueProvider<T extends Object>.forToken constructor
const
ValueProvider<T extends Object>.forToken (
- OpaqueToken<
T> token, - T useValue
Implementation
const factory ValueProvider.forToken(
OpaqueToken<T> token,
T useValue,
) = ValueProvider<T>._;