Factory< T> class
A factory interface that also reports the type of the created objects.
Constructors
-
Factory(ValueGetter<
T> constructor) -
Creates a new factory. [...]
const
Properties
-
constructor
→ ValueGetter<
T> -
Creates a new object of type T.
final
- type → Type
-
The type of the objects created by this factory.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited