toMap method

  1. @override
Map<String, dynamic> toMap()
override

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,
    };