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

49 lines
1.2 KiB

  1. class PddAuthModel {
  2. String isPop;
  3. String noOpenAppUrl;
  4. String openAppUrl;
  5. String schemaUrl;
  6. String ico;
  7. String btnIco;
  8. String title;
  9. String info;
  10. String btnStr;
  11. PddAuthModel(
  12. {this.isPop,
  13. this.noOpenAppUrl,
  14. this.openAppUrl,
  15. this.schemaUrl,
  16. this.ico,
  17. this.btnIco,
  18. this.title,
  19. this.info,
  20. this.btnStr});
  21. PddAuthModel.fromJson(Map<String, dynamic> json) {
  22. isPop = json['is_pop'];
  23. noOpenAppUrl = json['no_open_app_url'];
  24. openAppUrl = json['open_app_url'];
  25. schemaUrl = json['schema_url'];
  26. ico = json['ico'];
  27. btnIco = json['btn_ico'];
  28. title = json['title'];
  29. info = json['info'];
  30. btnStr = json['btn_str'];
  31. }
  32. Map<String, dynamic> toJson() {
  33. final Map<String, dynamic> data = new Map<String, dynamic>();
  34. data['is_pop'] = this.isPop;
  35. data['no_open_app_url'] = this.noOpenAppUrl;
  36. data['open_app_url'] = this.openAppUrl;
  37. data['schema_url'] = this.schemaUrl;
  38. data['ico'] = this.ico;
  39. data['btn_ico'] = this.btnIco;
  40. data['title'] = this.title;
  41. data['info'] = this.info;
  42. data['btn_str'] = this.btnStr;
  43. return data;
  44. }
  45. }