Migrate project code to follow Dart SDK version 0.3.1.1_r17328.