unregister

abstract fun unregister(type: KClass<*>)

Unregisters provider registered with register for type so it is no longer in use.