dead code + cleanup
(cherry picked from commit 49b62ea)
WEB-10435 Dart: local imports don't resolve correctly
(cherry picked from commit 33cffd2)
fix tests
(cherry picked from commit 0ff7152)