isError property

bool isError

Whether the response as a 'error' status.

Implementation

bool get isError => status == 'error';