isNotNullOrEmpty method

bool isNotNullOrEmpty()

Returns false if this nullable char sequence is either null or empty.

Implementation

bool isNotNullOrEmpty() {
  return this != null && this!.isNotEmpty;
}