isNullOrEmpty property

bool get isNullOrEmpty

Returns true if string is either null or empty.

Implementation

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