Contents

avoid_unstable_final_fields

Contents

Avoid overriding a final field to return different values if called multiple times.

This rule has been removed as of the latest Dart releases.

Details

#

This rule has been removed.

Usage

#

To enable the avoid_unstable_final_fields rule, add avoid_unstable_final_fields under linter > rules in your analysis_options.yaml file:

analysis_options.yaml
yaml
linter:
  rules:
    - avoid_unstable_final_fields