Suppression class

Represents an information about rule suppression.

Constructors

Suppression(String content, LineInfo info)
Initialize a newly created Suppression with the given content and info.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSuppressed(String id) bool
Checks that the id is globally suppressed.
isSuppressedAt(String id, int? lineIndex) bool
Checks that the id is suppressed for the lineIndex.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited