clear method
Clears the cache, evicts all entries
Implementation
@override
void clear() {
if (onEvict != null) {
_internalMap.values.forEach((element) {
if (element.value != null) onEvictInternal(element.key, element.value!);
});
}
_internalMap.clear();
}