void
should not have the same behavior as dynamic
#53759
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Description
<Null>
, it promptsUnnecessary use of the type 'Null'.
and suggestsTry using 'void' instead.
<Null>
to<void>
, the behavior completely changed.Example
https://dartpad.dev/33706e19df021e52d98c?id=2a911d811fe62681110cd69734328c22
Expected
<Null>
to<void>
.<void>
if necessary.The text was updated successfully, but these errors were encountered: