After a couple of untracked updates, I am getting this error when I try to start debugging my project.
Launching lib/main.dart on iPhone 15 Pro in debug mode... Xcode builddone. 279.1s Failed to buildiOS app Error (Xcode):../../../flutter/packages/flutter/lib/src/foundation/persistent_hash_map.dart:355:1:Error: Variables must be declared using the keywords 'const', 'final','var' or a type name.
Could not build the application for the simulator.Error launching application on iPhone 15 Pro.
Clearly there is a mismatch in versions since I didn't touch this file at all. Anyone can help me out of this mystery?