isNotOk property

bool isNotOk

Returns true if http status code is not 200, otherwise false.

Implementation

bool get isNotOk => code != 200;