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