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

23 lines
487 B

  1. // 分享按钮
  2. class ShareIconModel {
  3. String name;
  4. String type;
  5. String icon;
  6. ShareIconModel({this.name, this.type, this.icon});
  7. ShareIconModel.fromJson(Map<String, dynamic> json) {
  8. name = json['name'];
  9. type = json['type'];
  10. icon = json['icon'];
  11. }
  12. Map<String, dynamic> toJson() {
  13. final Map<String, dynamic> data = new Map<String, dynamic>();
  14. data['name'] = this.name;
  15. data['type'] = this.type;
  16. data['icon'] = this.icon;
  17. return data;
  18. }
  19. }