Misleading error message for Invalid constant value
error
#49389
Labels
analyzer-constants
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P4
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Getting
A value of type 'Null' can't be assigned to a parameter of type 'Map<String, String>' in a const constructor.
as in the screenshot of DartPad below.The text was updated successfully, but these errors were encountered: