unauthorized property

bool get unauthorized

unauthorized is true when statusCode is equal 401.

Implementation

bool get unauthorized => status.isUnauthorized;