FactoryKey

constructor(type: KClass<T>)

Parameters

T

The type of object to be produced by the factory.

GetParams

The type of parameters to be passed to the factory lambda during retrieval. Use Unit if no parameters are needed.