BindInject<T extends Object> class

Inheritance

Constructors

BindInject(T inject(Injector i), {bool isSingleton = true, bool isLazy = true, bool isScoped = true})

Properties

alwaysSerialized bool
flag for indicate serialization
finalinherited
bindType Type
no setterinherited
export bool
export bind for others modules
finalinherited
factoryFunction → T Function(Injector i)
finalinherited
hashCode int
The hash code for this object.
no setterinherited
inject → T Function(Injector i)
final
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.
finalinherited
isScoped bool
create single instance for request
finalinherited
isSingleton bool
single instance
finalinherited
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