createFloor function

Floor createFloor(
  1. Map map
)

Implementation

Floor createFloor(Map map) {
  return Floor(
    id: map["floorIdentifier"],
    name: map["name"],
    buildingId: map["buildingIdentifier"],
    floorIndex: map["floor"],
    mapUrl: map["mapUrl"],
    scale: map["scale"],
    createdAt: map["createdAt"],
    updatedAt: map["updatedAt"],
    customFields: Map<String, dynamic>.from(map["customFields"]),
  );
}