isSuppressedAt method

bool isSuppressedAt(
  1. String id,
  2. int? lineIndex
)

Checks that the id is suppressed for the lineIndex.

Implementation

bool isSuppressedAt(String id, int? lineIndex) {
  return isSuppressed(id) ||
      (_ignoreMap[lineIndex]?.contains(_canonicalize(id)) ?? false);
}