isOk property
bool
get
isOk
Whether the response indicates success (2xx).
Implementation
bool get isOk => status >= 200 && status < 300;
Whether the response indicates success (2xx).
bool get isOk => status >= 200 && status < 300;