option property

  1. @override
String option

override this method if your flag takes an optional argument after an = sign. this method should reutrn the value after the = sign.

Implementation

@override
String get option => '';
  1. @override
void option=(String? value)

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) {}