isErrored property

bool get isErrored

Returns true if the response contains errors.

Implementation

bool get isErrored => errors.isNotEmpty;