isNullOrBlank property

bool get isNullOrBlank

Returns true if string is null or blank (empty or only whitespace)

Implementation

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