nullIfEmpty property

String? get nullIfEmpty

Implementation

String? get nullIfEmpty {
  return isEmpty ? null : this;
}