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;