isLogin static method

bool isLogin()

Implementation

static bool isLogin() {
  String? accessToken = SpUtil.getString(BytedeskConstants.accessToken);
  if (accessToken!.isEmpty) {
    return false;
  }
  return true;
}