toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
"id": id,
"name": name,
"buildingId": buildingId,
"floorId": floorId,
"polygonPoints": polygonPoints,
"customFields": customFields,
"createdAt": createdAt,
"updatedAt": updatedAt,
};