toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['InvoiceId'] = invoiceId;
data['CustomerReference'] = customerReference;
data['CustomerName'] = customerName;
data['CustomerMobile'] = customerMobile;
data['CreatedDate'] = createdDate;
data['InvoiceStatus'] = invoiceStatus;
return data;
}