isOk property
bool
isOk
Returns true if http statuc code is 200, otherwise false.
Implementation
bool get isOk => code == 200;
Returns true if http statuc code is 200, otherwise false.
bool get isOk => code == 200;