18 lines
430 B
Dart
18 lines
430 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;
|
|
|
|
ConfigBean(this.isChecking, this.isAuthRealName, this.signKey);
|
|
|
|
factory ConfigBean.fromJson(Map<String, dynamic> json) => _$ConfigBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$ConfigBeanToJson(this);
|
|
}
|