hi-client/lib/app/model/response/kr_is_register.dart
speakeloudest 9123d5f0e4
Some checks failed
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Successful in 20m33s
Build Windows / build (push) Has been cancelled
feat: 登录接口修改
2025-11-21 01:24:44 -08:00

23 lines
521 B
Dart
Executable File

/// 是否注册
class KRIsRegister {
bool kr_isRegister = false;
KRIsRegister({this.kr_isRegister = false});
KRIsRegister.fromJson(Map<String, dynamic> json) {
kr_isRegister = json['exist'] == "true" || json['exist'] == true
? true
: false || json['exist'] == "true" || json['exist'] == true
? true
: false;
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['exist'] = kr_isRegister;
return data;
}
}