isClientError property
bool
get
isClientError
Whether the status code is in the 4xx range (400–499).
Implementation
bool get isClientError => statusCode >= 400 && statusCode < 500;
Whether the status code is in the 4xx range (400–499).
bool get isClientError => statusCode >= 400 && statusCode < 500;