mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
delete FlutterCommand.intArg()
, which is not used anywhere in the codebase (#122124)
Delete `FlutterCommand.intArg()`, which is not used anywhere
This commit is contained in:
parent
b2e96cd75b
commit
f8524ead7c
@ -1734,9 +1734,6 @@ abstract class FlutterCommand extends Command<void> {
|
||||
return argResults![name] as String?;
|
||||
}
|
||||
|
||||
/// Gets the parsed command-line option named [name] as an `int`.
|
||||
int? intArg(String name) => argResults?[name] as int?;
|
||||
|
||||
/// Gets the parsed command-line option named [name] as `List<String>`.
|
||||
List<String> stringsArg(String name) {
|
||||
return argResults![name]! as List<String>? ?? <String>[];
|
||||
|
Loading…
Reference in New Issue
Block a user