void addCommandLineOption(String name, [ String defaultValue = "" ])

Source

void addCommandLineOption(String name, [String defaultValue = ""]) {
  _argp = _argp == null ? new ArgParser(allowTrailingOptions: !strictOptions) : _argp;
  _argp.addOption(name, defaultsTo: defaultValue);
}