toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"parkingId": parkingId,
"startDate": startDate.toIso8601String(),
"numberPlate": numberPlate,
"tags": List<dynamic>.from(tags.map((int x) => x)),
"endDate": endDate?.toIso8601String(),
"amount": amount,
"detail1": detail1,
"detail2": detail2,
"id": id,
"creatorId": creatorId,
"adminUserIds": adminUserIds == null ? <dynamic>[] : List<dynamic>.from(adminUserIds!.map((String x) => x)),
};