You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HMG_Patient_App/lib/models/Appointments/appoDetailsButtons.dart

25 lines
607 B
Dart

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