hasError method

bool hasError()

Checks if there are any errors in the API response.

Implementation

bool hasError() => errors!.isNotEmpty;