hasValue property

bool get hasValue

Check if the html string is not empty.

It trims the string and checks if it's not empty.

Implementation

bool get hasValue => html.trim().isNotEmpty;