isNotNullOrWhiteSpace property

bool get isNotNullOrWhiteSpace

Return true if string is not null and not empty and contains not only whitespaces

Implementation

bool get isNotNullOrWhiteSpace => trim().isNotEmpty;