remove method

  1. @override
bool remove(
  1. T e
)
override

Remove a single element that is equal to e.

If there are multiple elements identical to e, only the first will be removed. To remove all, use something like:

set.removeWhere((a) => a == e);

Implementation

@override
bool remove(T e) {
  _cache.values.forEach((v) => v.data.remove(e));
  return super.remove(e);
}