isLoggedIn property Null safety

Future<bool> isLoggedIn

Implementation

Future<bool> get isLoggedIn async {
  String? token = await accessToken;
  return token != null && token.isNotEmpty;
}