getClient static method

String getClient()

Implementation

static String getClient() {
  String? role = SpUtil.getString(BytedeskConstants.role,
      defValue: BytedeskConstants.ROLE_VISITOR);
  // 区分用户端,还是学校端
  return (role == BytedeskConstants.ROLE_VISITOR)
      ? BytedeskUtils.client()
      : BytedeskUtils.clientSchool();
}