Migrate project code to follow Dart SDK version 1.4.0