Wrap dart:convert to track utf8 decode failures (#26650)
diff --git a/packages/flutter_tools/lib/src/commands/create.dart b/packages/flutter_tools/lib/src/commands/create.dart index e20bb5f..ec6f616 100644 --- a/packages/flutter_tools/lib/src/commands/create.dart +++ b/packages/flutter_tools/lib/src/commands/create.dart
@@ -3,7 +3,6 @@ // found in the LICENSE file. import 'dart:async'; -import 'dart:convert'; import 'package:linter/src/rules/pub/package_names.dart' as package_names; // ignore: implementation_imports import 'package:linter/src/utils.dart' as linter_utils; // ignore: implementation_imports @@ -18,6 +17,7 @@ import '../base/os.dart'; import '../base/utils.dart'; import '../cache.dart'; +import '../convert.dart'; import '../dart/pub.dart'; import '../doctor.dart'; import '../globals.dart';