hasOption property

bool hasOption

true if the flag has an option.

Implementation

bool get hasOption => _templateName != null;