ClassInstanceProvider<T> constructor

ClassInstanceProvider<T>(
  1. Type type, {
  2. bool eager = true,
  3. dynamic replace = false,
  4. String scope = 'singleton',
})

Implementation

ClassInstanceProvider(Type type, {bool eager = true, replace = false, String scope = 'singleton'})
    : descriptor = TypeDescriptor.forType(type), super(type: type, host: type, eager: eager, scope: scope, replace: replace);