isNullOrEmpty property

bool isNullOrEmpty

Returns null if the string is empty

Implementation

bool get isNullOrEmpty => this == null || this!.isEmpty;