constructor
public final FactoryBuilder constructor<T extends Any>(Function1<Warehouse, T> constructor)
Content copied to clipboard
this function takes a lambda with T as a return type this function lambda contains the object constructor that allows the library to construct the object when is needed
Parameters
constructor
is a lambda with KClass as a return type of the target receiver