isNotEmpty property
bool
get
isNotEmpty
Returns true if the map is not empty.
Example:
{'a': 1}.isNotEmpty; // true
{}.isNotEmpty; // false
Implementation
bool get isNotEmpty => !isEmpty;
Returns true if the map is not empty.
Example:
{'a': 1}.isNotEmpty; // true
{}.isNotEmpty; // false
bool get isNotEmpty => !isEmpty;