isAuthenticated static method

Future<bool> isAuthenticated(
  1. BuildContext context,
  2. String route
)

Returns whether the user is authenticated for the given route.

Implementation

static Future<bool> isAuthenticated(BuildContext context, String route) async {
  return _isAuthenticated;
}