isTimeoutError property
bool
get
isTimeoutError
Checks if the status code represents a timeout error
Implementation
bool get isTimeoutError => this == 408 || this == 504;
Checks if the status code represents a timeout error
bool get isTimeoutError => this == 408 || this == 504;