hasOption property

bool get hasOption

true if the flag has an option.

Implementation

bool get hasOption => _templateName != null;