isEmpty property

bool get isEmpty

Check if string is empty or null

Implementation

bool get isEmpty => trim().isEmpty;