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