track method

IgnoredLeaksSet track(
  1. List<String> list
)

Removes the classes from ignore lists.

Implementation

IgnoredLeaksSet track(List<String> list) {
  if (list.isEmpty) return this;
  final map = {...byClass};
  list.forEach(map.remove);
  return copyWith(byClass: map);
}