pubspec property

Pubspec pubspec
final

The pubspec of the analyzed project.

This can be used to disable a lint rule based on the presence/absence of a dependency.

Implementation

final Pubspec pubspec;