add method
Adds the element e
to this, and returns whether the element was
added or not. If the element already exists in the collection, it isn't
added.
Implementation
@override
bool add(T t) {
if (super.add(t)) {
_cache.forEach((key, value) {
if (value.check(t)) {
value.data.add(t);
}
});
return true;
}
return false;
}