isError property

bool get isError

Whether the request failed.

Returns true when error is not null.

Implementation

bool get isError => error != null;