hasData property

bool get hasData

Indicates whether the response contains data.

Implementation

bool get hasData => data.isNotEmpty;