@@ -8,7 +8,7 @@ import 'dart:typed_data';
88import 'package:meta/meta.dart' ;
99import 'package:package_config/package_config.dart' ;
1010import 'package:process/process.dart' ;
11- import 'package:usage/ uuid/uuid .dart' ;
11+ import 'package:uuid/v4 .dart' ;
1212
1313import 'artifacts.dart' ;
1414import 'base/common.dart' ;
@@ -753,7 +753,7 @@ class DefaultResidentCompiler implements ResidentCompiler {
753753 nativeAssetsUri: nativeAssets,
754754 );
755755 }
756- final String inputKey = Uuid ().generateV4 ();
756+ final String inputKey = const UuidV4 ().generate ();
757757
758758 if (nativeAssets != null && nativeAssets.isNotEmpty) {
759759 server.stdin.writeln ('native-assets $nativeAssets ' );
@@ -953,7 +953,7 @@ class DefaultResidentCompiler implements ResidentCompiler {
953953 return null ;
954954 }
955955
956- final String inputKey = Uuid ().generateV4 ();
956+ final String inputKey = const UuidV4 ().generate ();
957957 server.stdin
958958 ..writeln ('compile-expression $inputKey ' )
959959 ..writeln (request.expression);
@@ -1016,7 +1016,7 @@ class DefaultResidentCompiler implements ResidentCompiler {
10161016 return null ;
10171017 }
10181018
1019- final String inputKey = Uuid ().generateV4 ();
1019+ final String inputKey = const UuidV4 ().generate ();
10201020 server.stdin
10211021 ..writeln ('compile-expression-to-js $inputKey ' )
10221022 ..writeln (request.libraryUri ?? '' )
0 commit comments