Remove uses of deprecated constants and change int.parse to int.tryParse (#19575)
* Remove uses of deprecated constants * Change int.parse to int.tryParse where appropriate
This commit is contained in:
@@ -122,7 +122,7 @@ class MockProcessManager implements ProcessManager {
|
||||
Map<String, String> environment,
|
||||
bool includeParentEnvironment = true,
|
||||
bool runInShell = false,
|
||||
ProcessStartMode mode = ProcessStartMode.NORMAL, // ignore: deprecated_member_use
|
||||
ProcessStartMode mode = ProcessStartMode.normal,
|
||||
}) {
|
||||
if (!succeed) {
|
||||
final String executable = command[0];
|
||||
|
||||
Reference in New Issue
Block a user