初始化信息

This commit is contained in:
2025-10-13 18:08:02 +08:00
parent e302ebe176
commit 35a90f1635
616 changed files with 58357 additions and 25 deletions
+22
View File
@@ -0,0 +1,22 @@
/// 是否注册
class KRIsRegister {
bool kr_isRegister = false;
KRIsRegister({this.kr_isRegister = false});
KRIsRegister.fromJson(Map<String, dynamic> json) {
kr_isRegister = json['Status'] == "true" || json['Status'] == true
? true
: false || json['status'] == "true" || json['status'] == true
? true
: false;
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['Status'] = kr_isRegister;
return data;
}
}