remove

abstract fun remove(key: Key): Resource<out Any>

Removes the value for the given key and returns it if present or null otherwise.

Parameters

key

The key.