[extension types/analyzer] The receiver can't be null
false negative on extension type
typed values?
#56759
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Consider:
b?.toString();
causes the analyzer to emit aThe receiver can't be null, so the null-aware operator '?.' is unnecessary.
diagnostic, but it looks to me likea?.toString();
could also be annotated with a similar diagnostic.The text was updated successfully, but these errors were encountered: