Flag constructor
Flag(})
Implementation
Flag(
String name, {
String? abbr,
String? help,
bool? defaultsTo = false,
bool negatable = true,
void Function(bool?)? callback,
bool hide = false,
List<String> aliases = const [],
}) : super(
name,
abbr,
help,
null,
null,
null,
defaultsTo,
callback == null ? null : (value) => callback(value),
OptionType.flag,
negatable: negatable,
hide: hide,
aliases: aliases,
);