@@ -30,10 +30,6 @@ const releaseFlag = 'release';
3030const requireBuildWebCompilersFlag = 'build-web-compilers' ;
3131const enableExpressionEvaluationFlag = 'enable-expression-evaluation' ;
3232const verboseFlag = 'verbose' ;
33- const nullSafetyFlag = 'null-safety' ;
34- const nullSafetySound = 'sound' ;
35- const nullSafetyUnsound = 'unsound' ;
36- const nullSafetyAuto = 'auto' ;
3733const disableDdsFlag = 'disable-dds' ;
3834const enableExperimentOption = 'enable-experiment' ;
3935const canaryFeaturesFlag = 'canary' ;
@@ -105,7 +101,6 @@ class Configuration {
105101 final bool ? _enableExpressionEvaluation;
106102 final bool ? _verbose;
107103 final bool ? _disableDds;
108- final String ? _nullSafety;
109104 final List <String >? _experiments;
110105 final bool ? _canaryFeatures;
111106 final bool ? _offline;
@@ -132,7 +127,6 @@ class Configuration {
132127 bool ? enableExpressionEvaluation,
133128 bool ? verbose,
134129 bool ? disableDds,
135- String ? nullSafety,
136130 List <String >? experiments,
137131 bool ? canaryFeatures,
138132 bool ? offline,
@@ -155,7 +149,6 @@ class Configuration {
155149 _disableDds = disableDds,
156150 _enableExpressionEvaluation = enableExpressionEvaluation,
157151 _verbose = verbose,
158- _nullSafety = nullSafety,
159152 _experiments = experiments,
160153 _canaryFeatures = canaryFeatures,
161154 _offline = offline {
@@ -231,7 +224,6 @@ class Configuration {
231224 enableExpressionEvaluation:
232225 other._enableExpressionEvaluation ?? _enableExpressionEvaluation,
233226 verbose: other._verbose ?? _verbose,
234- nullSafety: other._nullSafety ?? _nullSafety,
235227 experiments: other._experiments ?? _experiments,
236228 canaryFeatures: other._canaryFeatures ?? _canaryFeatures,
237229 offline: other._offline ?? _offline);
@@ -278,13 +270,6 @@ class Configuration {
278270
279271 bool get verbose => _verbose ?? false ;
280272
281- /// Null safety mode:
282- ///
283- /// 'sound', 'unsound', or 'auto'.
284- /// 'auto' indicates that the default `package:build_web_compilers`
285- /// behavior should be used.
286- String get nullSafety => _nullSafety ?? 'auto' ;
287-
288273 List <String > get experiments => _experiments ?? [];
289274
290275 bool get canaryFeatures => _canaryFeatures ?? false ;
@@ -398,10 +383,6 @@ class Configuration {
398383 ? argResults[verboseFlag] as bool ?
399384 : defaultConfiguration.verbose;
400385
401- final nullSafety = argResults.options.contains (nullSafetyFlag)
402- ? argResults[nullSafetyFlag] as String ?
403- : defaultConfiguration.nullSafety;
404-
405386 final disableDds = argResults.options.contains (disableDdsFlag)
406387 ? argResults[disableDdsFlag] as bool ?
407388 : defaultConfiguration.disableDds;
@@ -441,7 +422,6 @@ class Configuration {
441422 disableDds: disableDds,
442423 enableExpressionEvaluation: enableExpressionEvaluation,
443424 verbose: verbose,
444- nullSafety: nullSafety,
445425 experiments: experiments,
446426 canaryFeatures: canaryFeatures,
447427 offline: offline,
0 commit comments