SingleInstanceFactory<T> class
Single instance factory where instance created is given at constructor.
- Inheritance
-
- Object
- InjectFactory<
T> - SingleInjectFactory<
T> - SingleInstanceFactory
Constructors
- SingleInstanceFactory(T instance)
-
Creates InjectFactory with single
instance
ofT
type.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localSingleton → T?
-
Local singleton value created in this factory
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void -
Releasing resources that a class is using.
inherited
-
create(
) → T -
Creates a instance of
T
inherited -
createInstance(
) → T -
Implementation of createInstance should never be called
override
-
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