bool isNotEmpty

Returns true if there is at least one key-value pair in the map.

Source

bool get isNotEmpty => !isEmpty;