factory ConnectStateBean.fromJson(Map<String, dynamic> json) => ConnectStateBean( autoConnect: json["autoConnect"] ?? false, connectState: json["connectState"] ?? 0, );