mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
21 lines
336 B
Dart
21 lines
336 B
Dart
class OfficialVerify {
|
|
int? type;
|
|
String? desc;
|
|
|
|
OfficialVerify({this.type, this.desc});
|
|
|
|
factory OfficialVerify.fromJson(Map<String, dynamic> json) {
|
|
return OfficialVerify(
|
|
type: json['type'] as int?,
|
|
desc: json['desc'] as String?,
|
|
);
|
|
}
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'type': type,
|
|
'desc': desc,
|
|
};
|
|
}
|