ListingData constructor

ListingData(
  1. {num? id,
  2. int? businessChatId,
  3. num? userId,
  4. String? name,
  5. bool? hideLocation,
  6. String? address,
  7. String? city,
  8. String? state,
  9. String? country,
  10. String? latitude,
  11. String? longitude,
  12. String? postalCode,
  13. String? description,
  14. String? businessImage,
  15. String? priceRange,
  16. List<BusinessType>? businessType,
  17. List<Features>? features,
  18. num? isFavourite,
  19. List<FeaturesId>? featuresId,
  20. String? contactNumber,
  21. String? email,
  22. String? webpageUrl,
  23. SocialMediaUrl? socialMediaUrl,
  24. dynamic userType,
  25. List<String>? tags,
  26. String? status,
  27. num? isOpen,
  28. String? distance,
  29. num? isFeatured,
  30. dynamic bestOffer,
  31. dynamic discount,
  32. int? totalRating,
  33. String? avgRating,
  34. List<ReviewData>? rating,
  35. String? musicTypeDisplay,
  36. List<MusicTypeList>? musicTypeList,
  37. WorkingHourModel? workingHour,
  38. List<GalleryAttachmentList>? galleryAttachmentList,
  39. int? totalLikes,
  40. bool? canClaimed}
)

Implementation

ListingData({
  this.id,
  this.businessChatId,
  this.userId,
  this.name,
  this.hideLocation,
  this.address,
  this.city,
  this.state,
  this.country,
  this.latitude,
  this.longitude,
  this.postalCode,
  this.description,
  this.businessImage,
  this.priceRange,
  this.businessType,
  this.features,
  this.isFavourite,
  this.featuresId,
  this.contactNumber,
  this.email,
  this.webpageUrl,
  this.socialMediaUrl,
  this.userType,
  this.tags,
  this.status,
  this.isOpen,
  this.distance,
  this.isFeatured,
  this.bestOffer,
  this.discount,
  this.totalRating,
  this.avgRating,
  this.rating,
  this.musicTypeDisplay,
  this.musicTypeList,
  this.workingHour,
  this.galleryAttachmentList,
  this.totalLikes,
  this.canClaimed,
});