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