toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"detail1": detail1,
"detail2": detail2,
"description": description,
"policies": policies,
"checkInTime": checkInTime,
"checkOutTime": checkOutTime,
"highlights": highlights,
"rules": rules,
"howToGetThere": howToGetThere,
"nearby": nearby.map((UPlaceNearby e) => e.toMap()).toList(),
"faqs": faqs.map((UPlaceFaq e) => e.toMap()).toList(),
"website": website,
"whatsapp": whatsapp,
"instagram": instagram,
"telegram": telegram,
"latitude": latitude,
"longitude": longitude,
"cancellationFreeHours": cancellationFreeHours,
"cancellationPenaltyNights": cancellationPenaltyNights,
};