chore(fix_warnings): Fix warnings reported in Dart SDK 1.2.