BindInject<T extends Object> constructor

BindInject<T extends Object>(
  1. T factoryFunction(
    1. Injector i
    ), {
  2. bool isSingleton = true,
  3. bool isLazy = true,
  4. bool isScoped = true,
  5. void onDispose(
    1. T value
    )?,
})

Implementation

BindInject(
  super.factoryFunction, {
  super.isSingleton = true,
  super.isLazy = true,
  super.isScoped = true,
  super.onDispose,
}) : inject = factoryFunction;