https://dart-lang.github.io/linter/lints/avoid_returning_null_for_void.html
Best practice
Critical
Avoid returning null for void
Codiga provides multiple set of rules for 12+ languages. Below we provide a link and a description for all the rules supported by our platform. Note that not all the rules are being listed and described below.
Avoid returning null for void