clear method

  1. @override
void clear()
override

Removes all elements of this.

Implementation

@override
void clear() {
  _cache.values.forEach((v) => v.data.clear());
  super.clear();
}