doesRequireAuthentication function

bool doesRequireAuthentication(
  1. String route
)

Implementation

bool doesRequireAuthentication(String route) {
  switch (route) {
    case Routes.PRIVACY_POLICY:
    case Routes.FORGET_PASSWORD:
    case Routes.SIGNIN:
    case Routes.LANDING:
      return false;
    default:
      return true;
  }
}