ignoreType method

void ignoreType(
  1. Type type
)

Adds a filter to ignore if ReportRecord.error matches type.

Implementation

void ignoreType(Type type) {
  _typeFilters.add(type);

  if (_typeFilters.length == 1) {
    _filters.add(_shouldIgnoreByType);
  }
}