isForbidden property

bool get isForbidden

Check if the response is forbidden (403)

Implementation

bool get isForbidden => statusCode == 403;