isLogin method

Future<bool> isLogin()

Implementation

Future<bool> isLogin() async {
  final token = await getToken();
  return (token ?? '') != '';
}