isEmpty property Null safety

bool isEmpty
override

Returns true if there is no key/value pair in the map.

Implementation

bool get isEmpty => length == 0;