You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
class VerifyCode {
|
|
|
|
VerifyCode();
|
|
|
|
int code;
|
|
|
|
Map<String, dynamic> data;
|
|
|
|
BaseDataExtra extra;
|
|
|
|
bool isError;
|
|
|
|
bool isSuccess;
|
|
|
|
String msg;
|
|
|
|
String path;
|
|
|
|
String timestamp;
|
|
|
|
|
|
|
|
factory VerifyCode.fromJson(Map<String, dynamic> json) => VerifyCode()
|
|
|
|
..code = json['code'] as int
|
|
|
|
..data = json['data'] as Map<String, dynamic>
|
|
|
|
..extra = json['extra'] == null
|
|
|
|
? null
|
|
|
|
: BaseDataExtra.fromJson(json['extra'] as Map<String, dynamic>)
|
|
|
|
..isError = json['isError'] as bool
|
|
|
|
..isSuccess = json['isSuccess'] as bool
|
|
|
|
..msg = json['msg'] as String
|
|
|
|
..path = json['path'] as String
|
|
|
|
..timestamp = json['timestamp'] as String;
|
|
|
|
Map<String, dynamic> toJson() => <String, dynamic>{
|
|
|
|
'code': this.code,
|
|
|
|
'data': this.data,
|
|
|
|
'extra': this.extra,
|
|
|
|
'isError': this.isError,
|
|
|
|
'isSuccess': this.isSuccess,
|
|
|
|
'msg': this.msg,
|
|
|
|
'path': this.path,
|
|
|
|
'timestamp': this.timestamp,
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
class BaseDataExtra {
|
|
|
|
BaseDataExtra();
|
|
|
|
|
|
|
|
factory BaseDataExtra.fromJson(Map<String, dynamic> json) => BaseDataExtra();
|
|
|
|
Map<String, dynamic> toJson() => {};
|
|
|
|
|
|
|
|
}
|