factory property

FutureOr<T> get factory

Returns a new instance of T each time, acting as a factory.

Implementation

FutureOr<T> get factory => _constructor();