A factory interface that also reports the type of the created objects.
Creates a new object of type T.
- hashCode → int
The hash code for this object. [...]
- runtimeType → Type
A representation of the runtime type of the object.
- type → Type
The type of the objects created by this factory.