isIgnored method

bool isIgnored(
  1. String className
)

Returns true if the class should be ignored.

Returns false if limited number of leaks is set to be ignored, that is byClass[className] != null.

Implementation

bool isIgnored(String className) {
  if (ignoreAll) return true;
  return byClass.containsKey(className) && byClass[className] == null;
}