BindContract<T extends Object> class abstract

Implementers

Constructors

BindContract(T factoryFunction(Injector i), {bool isSingleton = true, bool isLazy = true, bool export = false, bool isScoped = false, bool alwaysSerialized = false})

Properties

alwaysSerialized bool
flag for indicate serialization
final
bindType Type
no setter
export bool
export bind for others modules
final
factoryFunction → T Function(Injector i)
final
hashCode int
The hash code for this object.
no setterinherited
isLazy bool
When 'true', the object is instantiated only the first time it is called. When 'false', the object is instantiated along with the module.
final
isScoped bool
create single instance for request
final
isSingleton bool
single instance
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited