class WalletAppbarModel { String appBarName; String appBarNameColor; String appBarBgColor; String bgImg; WalletAppbarModel( {this.appBarName, this.appBarNameColor, this.appBarBgColor, this.bgImg}); WalletAppbarModel.fromJson(Map json) { appBarName = json['app_bar_name']; appBarNameColor = json['app_bar_name_color']; appBarBgColor = json['app_bar_bg_color']; bgImg = json['bg_img']; } Map toJson() { final Map data = new Map(); data['app_bar_name'] = this.appBarName; data['app_bar_name_color'] = this.appBarNameColor; data['app_bar_bg_color'] = this.appBarBgColor; data['bg_img'] = this.bgImg; return data; } }