nullIfBlank property

String? get nullIfBlank

Implementation

String? get nullIfBlank => isBlank() ? null : this;