isError property

bool get isError

Returns true if the response contains an error.

Implementation

bool get isError => error != null;