Migrate project code to follow Dart SDK version 0.5.20.2_r24160