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

26 lines
748 B

  1. class WalletAppbarModel {
  2. String appBarName;
  3. String appBarNameColor;
  4. String appBarBgColor;
  5. String bgImg;
  6. WalletAppbarModel(
  7. {this.appBarName, this.appBarNameColor, this.appBarBgColor, this.bgImg});
  8. WalletAppbarModel.fromJson(Map<String, dynamic> json) {
  9. appBarName = json['app_bar_name'];
  10. appBarNameColor = json['app_bar_name_color'];
  11. appBarBgColor = json['app_bar_bg_color'];
  12. bgImg = json['bg_img'];
  13. }
  14. Map<String, dynamic> toJson() {
  15. final Map<String, dynamic> data = new Map<String, dynamic>();
  16. data['app_bar_name'] = this.appBarName;
  17. data['app_bar_name_color'] = this.appBarNameColor;
  18. data['app_bar_bg_color'] = this.appBarBgColor;
  19. data['bg_img'] = this.bgImg;
  20. return data;
  21. }
  22. }