isBroken property

bool isBroken

Link that wasn't valid, didn't connect, or the statusCode was not HTTP 200 OK.

Ignores URIs with unsupported scheme (like mailto:).

Implementation

bool get isBroken =>
    statusCode != 200 && !wasDeniedByRobotsTxt && !isUnsupportedScheme;