Fix Dart Editor static analysis problems