Portions of godot_dart_build have been migrated to use the code_builder package which makes generating source code much easier and much less error prone. More of godot_dart_build should at be migrated to it, and also potentially the bindings generator.