isError property

bool get isError

True when the server answered with an error status.

Implementation

bool get isError => error != null;