24 lines
644 B
Dart
24 lines
644 B
Dart
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<String, dynamic> json) => _$ConfigBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$ConfigBeanToJson(this);
|
|
}
|