isNullOrEmpty property

bool get isNullOrEmpty

Check if string is null, empty or only whitespace

Implementation

bool get isNullOrEmpty => trim().isEmpty;