requiresAuth property

bool get requiresAuth

Returns true when the underlying route requires authorization.

Implementation

bool get requiresAuth => this?.effectiveMustBeAuthorized ?? false;