How to raise linter error `The operand can’t be null, so the condition is always ‘true’.`
In an app update, we changed a nullable boolean from nullable to default to false.
readability with always_specify_types
I have set always_specify_types in analysis_options.yaml as it forces me to make sure of the field types being used which otherwise I would overlook. Trying to implement clean architecture, the types being visible also help applying CA principles.
However, as presently set with always_specify_types, once specified the types correspond to a lot more characters which look exactly the same as the rest of the code. This makes it harder to focus on the code itself.