FunctionInstanceProvider<T> constructor

FunctionInstanceProvider<T>(
  1. Type clazz,
  2. MethodDescriptor method, {
  3. bool eager = true,
  4. bool replace = false,
  5. String scope = "singleton",
})

Implementation

FunctionInstanceProvider(
    Type clazz,
    this.method, {
      bool eager = true,
      bool replace = false,
      String scope = "singleton",
    }) : super(type: method.type.type, host: clazz, eager: eager, scope: scope, replace: replace);