基础组件库
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

23 行
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. }