isIgnoreElement method
Implementation
bool isIgnoreElement(Key? key) {
if (key == null) return false;
return getIgnoreElementKeySet().contains(key) ||
getIgnoreElementStringKeySet().contains(key.toString()) ||
(key is ValueKey && getIgnoreElementStringKeySet().contains(key.value));
}