isSuccess property
bool
get
isSuccess
Whether the response status is in the 2xx range.
Implementation
bool get isSuccess => statusCode >= 200 && statusCode < 300;
Whether the response status is in the 2xx range.
bool get isSuccess => statusCode >= 200 && statusCode < 300;