RuleState.deprecated constructor

const RuleState.deprecated({
  1. Version? since,
  2. String? replacedBy,
})

Initializes a state that marks an analysis rule as deprecated.

Implementation

const RuleState.deprecated({this.since, this.replacedBy})
  : _type = _RuleStateType.deprecated;