isClean property

bool get isClean

Whether the file passed with no violations and no skip directive.

Implementation

bool get isClean => violations.isEmpty && skipDirective == null;