toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "tags": List<dynamic>.from(tags.map((int x) => x)),
  "id": id,
  "title": title,
  "licencePlate": licencePlate,
  "brand": brand,
  "color": color,
  "creator": creator?.toMap(),
  "creatorId": creatorId,
  "jsonData": jsonData.toMap(),
  "createdAt": createdAt.toIso8601String(),
  "adminUserIds": List<dynamic>.from(adminUserIds.map((String x) => x)),
};