You can turn off dart2js related hints in Dart Editor by going to Tools-> Preferences -> Hints and unchecking the "Enable dart2js related hints" checkbox.
There are also plans to allow for manually suppressing certain warnings. You can follow the issue.