update to Dart 1.0