class AppoDetailsButton { String? title; String? subtitle; String? icon; String? caller; AppoDetailsButton({this.title, this.subtitle, this.icon, this.caller}); AppoDetailsButton.fromJson(Map json) { title = json['title']; subtitle = json['subtitle']; icon = json['icon']; caller = json['caller']; } Map toJson() { final Map data = new Map(); data['title'] = this.title; data['subtitle'] = this.subtitle; data['icon'] = this.icon; data['caller'] = this.caller; return data; } }