analysisRule property

  1. @Deprecated("Set 'rule' in 'setUp' instead")
String get analysisRule

The name of the analysis rule which this test is concerned with.

Implementation

// TODO(srawlins): In a major release, remove this getter, and implement
// `_analysisRule` as `=> rule.name;`.
@Deprecated("Set 'rule' in 'setUp' instead")
String get analysisRule => 'sentinel';