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 = true,
})

Implementation

Bind(
  T Function(Injector i) factoryFunction, {
  bool isSingleton = true,
  bool isLazy = true,
  bool export = false,
  bool isScoped = true,
}) : super(factoryFunction,
          isSingleton: isSingleton,
          isLazy: isLazy,
          export: export,
          isScoped: isScoped);