isNullOrEmpty property

bool get isNullOrEmpty

Returns true if this string is null or empty.

This is a convenience getter that checks if the string is null or has no content.

Implementation

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