isRequired property

bool? isRequired
final

Is this option required?

If this is set to true and it is not supplied, the user will be told there is an error, will be shown the help screen and if SmartArgApp.exitOnFailure is set to true, the application will exit with the error code 1.

Implementation

final bool? isRequired;