addFlagArg method
void
addFlagArg(})
Implementation
void addFlagArg(CmdArg info,
{String? help,
String? valueHelp,
Iterable<String>? allowed,
Map<String, String>? allowedHelp,
bool? defaultsTo = false,
// ignore: avoid_positional_boolean_parameters
void Function(bool)? callback,
bool hide = false}) =>
addFlag(
info.name,
abbr: info.abbr,
help: help,
defaultsTo: defaultsTo,
callback: callback,
hide: hide,
);