Bind<T extends Object> constructor

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

Implementation

Bind(
  super.factoryFunction, {
  super.isSingleton = true,
  super.isLazy = true,
  super.export = false,
  super.isScoped = false,
  super.onDispose,
});