isNullOrEmpty method

bool isNullOrEmpty()

Check if a string is either null or empty.

Implementation

bool isNullOrEmpty() => trim().isEmpty;