hasData method

bool hasData()

Checks if the API response contains any data.

Implementation

bool hasData() => data.isNotEmpty;