inline fun <reified R : Any> generated(override: Boolean = false): TypeKey<R>
Register a generated factory.
override - If true this will override an existing factory for same type.
override