There is new major [mode] for editing dart files. It works fine with eglot for me and I hope it can be merged into Emacs. [mode]: https://github.com/50ways2sayhard/dart-ts-mode