Minor Fixes

aamir_dev
Faiz Hashmi 1 year ago
parent a1d7dcab13
commit b8e0304a94

@ -17,10 +17,10 @@ class AppointmentListModel {
String? customerMobileNum; String? customerMobileNum;
int? appointmentType; int? appointmentType;
AppointmentTypeEnum? appointmentTypeEnum; AppointmentTypeEnum? appointmentTypeEnum;
String? providerName; String? providerName;
String? duration; String? duration;
String? appointmentDate; String? appointmentDate;
String? appointmentCreatedOn;
String? paymentType; String? paymentType;
String? appointmentAddress; String? appointmentAddress;
String? appointmentLatitude; String? appointmentLatitude;
@ -65,6 +65,7 @@ class AppointmentListModel {
this.remainingAmount, this.remainingAmount,
this.isSelected, this.isSelected,
this.appointmentDate, this.appointmentDate,
this.appointmentCreatedOn,
this.appointmentServicesList, this.appointmentServicesList,
this.customerAppointmentList, this.customerAppointmentList,
this.mergeAppointmentList, this.mergeAppointmentList,
@ -72,7 +73,7 @@ class AppointmentListModel {
@override @override
String toString() { String toString() {
return 'AppointmentListModel{id: $id, serviceSlotID: $serviceSlotID, appointmentStatusID: $appointmentStatusID, appointmentStatusText: $appointmentStatusText, serviceProviderID: $serviceProviderID, customerID: $customerID, isActive: $isActive, isPaymentRequired: $isPaymentRequired, paymentStatus: $paymentStatus, paymentStatusText: $paymentStatusText, customerName: $customerName, providerName: $providerName, duration: $duration, appointmentDate: $appointmentDate, appointmentStatusEnum: $appointmentStatusEnum, appointmentServicesList: $appointmentServicesList}'; return 'AppointmentListModel{id: $id, serviceSlotID: $serviceSlotID, appointmentStatusID: $appointmentStatusID, appointmentStatusText: $appointmentStatusText, serviceProviderID: $serviceProviderID, customerID: $customerID, isActive: $isActive, isPaymentRequired: $isPaymentRequired, paymentStatus: $paymentStatus, paymentStatusText: $paymentStatusText, customerName: $customerName, providerName: $providerName, duration: $duration, appointmentDate: $appointmentDate,appointmentCreatedOn: $appointmentCreatedOn, appointmentStatusEnum: $appointmentStatusEnum, appointmentServicesList: $appointmentServicesList}';
} }
AppointmentListModel.fromJson(Map<String, dynamic> json) { AppointmentListModel.fromJson(Map<String, dynamic> json) {
@ -93,6 +94,7 @@ class AppointmentListModel {
providerName = json['providerName']; providerName = json['providerName'];
duration = json['duration']; duration = json['duration'];
appointmentDate = json['appointmentDate']; appointmentDate = json['appointmentDate'];
appointmentCreatedOn = json['createdOn'];
paymentType = json['paymentType']; paymentType = json['paymentType'];
appointmentAddress = json['address'] ?? ""; appointmentAddress = json['address'] ?? "";
appointmentLatitude = json['branchLatitude']; appointmentLatitude = json['branchLatitude'];

Loading…
Cancel
Save