isError property

bool get isError

Check if the response is an error

Implementation

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