toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "parkingId": parkingId,
  "title": title,
  "capacity": capacity,
  "insideCount": insideCount,
  "shiftRevenue": shiftRevenue,
  "recentReports": List<dynamic>.from(recentReports.map((UParkingReportResponse x) => x.toMap())),
  "openShift": openShift?.toMap(),
};