isNullOrWhiteSpace property

bool get isNullOrWhiteSpace

Return true if string is null or empty or contains only whitespaces

Implementation

bool get isNullOrWhiteSpace => trim().isEmpty;