Returns true if string is either null or empty.
bool nullOrEmpty(String? source) => source?.isEmpty ?? true;