Factory<T> constructor

const Factory<T>(ValueGetter<T> constructor)

Creates a new factory.

The constructor parameter must not be null.

Implementation

const Factory(this.constructor) : assert(constructor != null);