isEmpty property

bool isEmpty

Whether this string is empty.

Implementation

bool get isEmpty {
  if (this == null) {
    return true;
  }
  return this!.isEmpty;
}