null_ aware_ assignments
Avoid null in null-aware assignment.
This rule is available as of Dart 2.0.0.
This rule has a quick fix available.
null in null-aware assignment.
null on the right-hand side of a null-aware assignment effectively makes
the assignment redundant.
var x; x ??= null;
var x; x ??= 1;
To enable the
unnecessary_null_aware_assignments under linter > rules in your
linter: rules: - unnecessary_null_aware_assignments