toMap method
Implementation
@override
Map<String, dynamic> toMap() => {
"identifier": identifier,
"name": name,
"buildingId": buildingId,
"floorId": floorId,
"polygonPoints": polygonPoints.map((i) => i.toMap()).toList(),
"customFields": customFields,
"createdAt": createdAt,
"updatedAt": updatedAt,
};