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

Implementation

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