04e6f4c282
This adds an [isSynthesized] flag to the [VariableDeclaration] the signal when the variable doesn't correspond to a variable in the source code. The name of a variable can only be `null` if it is synthesized. Partially in response to https://github.com/dart-lang/sdk/issues/51554 TEST=existing Change-Id: I94591971f11da09d210c8b25a2d05e22ca05dc62 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286961 Reviewed-by: Joshua Litt <joshualitt@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>