isLoggedIn method

Future<bool> isLoggedIn()

Check if the user is logged in or not

Implementation

Future<bool> isLoggedIn() async {
  return await _getToken() != null;
}