ValueProvider<T extends Object>.forToken constructor

const ValueProvider<T extends Object>.forToken(
  1. OpaqueToken<T> token,
  2. T useValue
)

Implementation

const factory ValueProvider.forToken(
  OpaqueToken<T> token,
  T useValue,
) = ValueProvider<T>._;