hasOption property Null safety

bool hasOption

true if the flag has an option.

Implementation

bool get hasOption => _templateName != null;