BindContract<T extends Object> constructor
BindContract<T extends Object> (})
Implementation
BindContract(
this.factoryFunction, {
this.isSingleton = true,
this.isLazy = true,
this.export = false,
this.isScoped = false,
this.alwaysSerialized = false,
this.onDispose,
this.selector,
}) : assert((isSingleton || isLazy), r"'singleton' can't be false if 'lazy' is also false");