isForbidden property

bool get isForbidden

Checks if the request was forbidden (403).

Implementation

bool get isForbidden => statusCode == 403;