isClientErrorCode property
bool
get
isClientErrorCode
Checks if the status code represents a client error (4xx)
Implementation
bool get isClientErrorCode => this != null && this! >= 400 && this! < 500;
Checks if the status code represents a client error (4xx)
bool get isClientErrorCode => this != null && this! >= 400 && this! < 500;