Unverified Commit 0d83e801 authored by Christopher Fujino's avatar Christopher Fujino Committed by GitHub

[flutter_tools] Null safe update packages (#99357)

parent c2409797
......@@ -31,7 +31,7 @@ const String _kPubCacheEnvironmentKey = 'PUB_CACHE';
/// (see https://github.com/dart-lang/pub/blob/master/lib/src/exit_codes.dart)
const int _kPubExitCodeUnavailable = 69;
typedef MessageFilter = String Function(String message);
typedef MessageFilter = String? Function(String message);
/// Represents Flutter-specific data that is added to the `PUB_ENVIRONMENT`
/// environment variable and allows understanding the type of requests made to
......@@ -311,7 +311,7 @@ class _DefaultPub implements Pub {
String lastPubMessage = 'no message';
bool versionSolvingFailed = false;
String filterWrapper(String line) {
String? filterWrapper(String line) {
lastPubMessage = line;
if (line.contains('version solving failed')) {
versionSolvingFailed = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment