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