import 'package:json_annotation/json_annotation.dart'; part 'config_bean.g.dart'; /// @JsonSerializable(explicitToJson: true) class ConfigBean { bool? isChecking; bool? isAuthRealName; String? signKey; String? nightCardTips; String? bsUrl; String? channelId; String? userAgreement; String? privacyAgreement; ConfigBean( this.isChecking, this.isAuthRealName, this.signKey, this.nightCardTips, this.bsUrl, this.channelId, this.userAgreement, this.privacyAgreement); factory ConfigBean.fromJson(Map json) => _$ConfigBeanFromJson(json); Map toJson() => _$ConfigBeanToJson(this); }