nullIfEmpty property

String? nullIfEmpty

Implementation

String? get nullIfEmpty => isNullOrEmpty ? null : this;