isError property

bool get isError

Whether the request failed.

Implementation

bool get isError => this is ApiError<T>;