isLogin method

Future<bool> isLogin()

返回是否已经登陆

Implementation

Future<bool> isLogin() async {
  if (_loginUserEntity == null) await _readCacheLoginInfo();
  return _loginUserEntity != null;
}