avoid_unstable_final_fields
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
Unless stated otherwise, the documentation on this site reflects Dart 3.5.4. Page last updated on 2024-07-03. View source or report an issue.