|
|
@@ -3,12 +3,15 @@ class SkipModel { |
|
|
|
String requiredLogin; |
|
|
|
String requiredTaobaoAuth; |
|
|
|
String skipIdentifier; |
|
|
|
String isJump; |
|
|
|
|
|
|
|
SkipModel( |
|
|
|
{this.url, |
|
|
|
this.requiredLogin, |
|
|
|
this.requiredTaobaoAuth, |
|
|
|
this.skipIdentifier}); |
|
|
|
SkipModel({ |
|
|
|
this.url, |
|
|
|
this.requiredLogin, |
|
|
|
this.requiredTaobaoAuth, |
|
|
|
this.skipIdentifier, |
|
|
|
this.isJump |
|
|
|
}); |
|
|
|
|
|
|
|
SkipModel.fromJson(Map<String, dynamic> json) { |
|
|
|
fromJson(json); |
|
|
@@ -19,6 +22,7 @@ class SkipModel { |
|
|
|
requiredLogin = json['required_login']?.toString(); |
|
|
|
requiredTaobaoAuth = json['required_taobao_auth']?.toString(); |
|
|
|
skipIdentifier = json['skip_identifier']; |
|
|
|
isJump = json['is_jump']?.toString(); |
|
|
|
} |
|
|
|
|
|
|
|
Map<String, dynamic> toJson() { |
|
|
@@ -27,6 +31,7 @@ class SkipModel { |
|
|
|
data['required_login'] = this.requiredLogin; |
|
|
|
data['required_taobao_auth'] = this.requiredTaobaoAuth; |
|
|
|
data['skip_identifier'] = this.skipIdentifier; |
|
|
|
data['is_jump'] = this.isJump; |
|
|
|
return data; |
|
|
|
} |
|
|
|
} |