toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"licencePlate": licencePlate,
"vehicleType": vehicleType,
"startDate": startDate.toIso8601String(),
"endDate": endDate.toIso8601String(),
"totalMinutes": totalMinutes,
"lines": List<dynamic>.from(lines.map((UParkingBillLineResponse x) => x.toMap())),
"subtotal": subtotal,
"discount": discount,
"payable": payable,
"dailyCap": dailyCap,
"isCapped": isCapped,
"isSubscription": isSubscription,
"isNightRateApplied": isNightRateApplied,
"reportId": reportId,
"spotNumber": spotNumber,
"receiptNumber": receiptNumber,
};