基础库
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.
 
 
 
 
 

38 regels
962 B

  1. class SkipModel {
  2. String url;
  3. String requiredLogin;
  4. String requiredTaobaoAuth;
  5. String skipIdentifier;
  6. String isJump;
  7. SkipModel({
  8. this.url,
  9. this.requiredLogin,
  10. this.requiredTaobaoAuth,
  11. this.skipIdentifier,
  12. this.isJump
  13. });
  14. SkipModel.fromJson(Map<String, dynamic> json) {
  15. fromJson(json);
  16. }
  17. void fromJson(Map<String, dynamic> json) {
  18. url = json['url'];
  19. requiredLogin = json['required_login']?.toString();
  20. requiredTaobaoAuth = json['required_taobao_auth']?.toString();
  21. skipIdentifier = json['skip_identifier'];
  22. isJump = json['is_jump']?.toString();
  23. }
  24. Map<String, dynamic> toJson() {
  25. final Map<String, dynamic> data = new Map<String, dynamic>();
  26. data['url'] = this.url;
  27. data['required_login'] = this.requiredLogin;
  28. data['required_taobao_auth'] = this.requiredTaobaoAuth;
  29. data['skip_identifier'] = this.skipIdentifier;
  30. data['is_jump'] = this.isJump;
  31. return data;
  32. }
  33. }