isEmpty property

bool get isEmpty

Check if there is no data.

Implementation

bool get isEmpty => data != null && count == 0;