isBlank property

bool get isBlank

Returns true if this string is empty or consists solely of whitespace characters.

Implementation

bool get isBlank => trimLeft().isEmpty;