isNonSpecific property

bool get isNonSpecific

Indicates a tag with with a single ! prefix and no content.

!! is invalid while ? cannot be specified.

Implementation

bool get isNonSpecific =>
    tagHandle.handleVariant == TagHandleVariant.primary && content.isEmpty;