isClientError property

bool get isClientError

Implementation

bool get isClientError => statusCode >= 400 && statusCode < 500;