isHtml property

bool get isHtml

Checks if the string contains HTML tags.

Implementation

bool get isHtml => regex(r'<[^>]*>');