Factory<T> constructor
Null safety
- ValueGetter<
T> constructor
Creates a new factory.
The constructor
parameter must not be null.
Implementation
const Factory(this.constructor) : assert(constructor != null);
Creates a new factory.
The constructor
parameter must not be null.
const Factory(this.constructor) : assert(constructor != null);