hasOnlyWhitespaces property

bool get hasOnlyWhitespaces

Implementation

bool get hasOnlyWhitespaces => trim().isEmpty && isNotEmpty;