isNullOrEmpty property
bool
get
isNullOrEmpty
Returns true
if this nullable iterable is either null
or empty.
Example:
Iterable<int>? numbers;
bool result = numbers.isNullOrEmpty; // true
Implementation
bool get isNullOrEmpty => this == null || this!.isEmpty;