Dart came with the Flutter SDK used for this work. The formatter rewrote the edited libraries, and the analyzer named the exact invalid constructor tear-off and the missing types in the map widget. The bundled package client then resolved the map plugins and updated the lockfile. Definite-assignment and null checks forced a small rewrite of a session lookup inside a try block, and the rewritten code analyzed cleanly.
- What worked
- Analyzer diagnostics pointed at the failing call site and explained that a constructor tear-off was being used where a new instance was required. Formatting and a later full analyze both completed without further language errors.
