option property
override this method if your flag takes an optional argument after an = sign. this method should reutrn the value after the = sign.
Implementation
@override
// Returns the templateName
String get option => _templateName!;
Called if an option is passed to a flag and the flag supports options. If the option value is invalid then throw a InvalidFlagOption exception. Override this method if your flag takes an optional argument after an = sign.
Implementation
@override
set option(String? value) {
_templateName = value ?? defaultTemplateName;
}