ClassProvider<T extends Object>.forToken constructor

const ClassProvider<T extends Object>.forToken(
  1. OpaqueToken<T> token, {
  2. Type useClass,
})

Implementation

const factory ClassProvider.forToken(
  OpaqueToken<T> token, {
  Type useClass,
}) = ClassProvider<T>._;