isClientError property
bool
get
isClientError
Check if this is a client error (4xx)
Implementation
bool get isClientError =>
statusCode != null && statusCode! >= 400 && statusCode! < 500;
Check if this is a client error (4xx)
bool get isClientError =>
statusCode != null && statusCode! >= 400 && statusCode! < 500;