CreatorInjectFactory<T> class
Creator based InjectFactory that creates new instance on every injection.
- Inheritance
-
- Object
- InjectFactory<
T> - InjectTagFactory<
T> - CreatorInjectFactory
Constructors
-
CreatorInjectFactory(Creator<
T> creatorDelegate) - Creates CreatorInjectFactory with provided Creator
Properties
-
creatorDelegate
↔ Creator<
T> -
Creator method instance
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
) → T -
Creates instance with default tag.
override
-
createTagged(
String? tag) → T -
Creates instance with defined
tag
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