isError property

bool get isError

Whether this response indicates failure.

Implementation

bool get isError => error != null;