ListingListData class

  • If you add variable in ListingListData model, You also have to add that variable in ListingListDataObservable model,
  • After that in appstore addListingData function for new item
  • also in compareListings() function for comparison. If the variable is List of object then use compareLists() function in compareListings(), to compare the object
  • Also add new value/variable in hashCode and operator == of that model

Constructors

ListingListData({int? id, String? name, bool? hideLocation, String? businessImage, String? address, String? city, String? state, String? country, String? latitude, String? longitude, String? postalCode, String? description, String? priceRange, List<PlaceDescribeModel>? features, String? contactNumber, String? email, String? webpageUrl, SocialMediaUrl? socialMediaUrl, String? userType, String? status, String? distance, int? isOpen, num? isFavourite, dynamic isFeatured, String? discount, int? totalRating, String? avgRating, List<Rating>? rating, List<BusinessType>? businessTypeList, String? musicTypeDisplay, List<MusicAffinityModel>? musicTypeList, WorkingHourModel? workingHour, List<String>? tags, List<GalleryAttachmentArray>? galleryAttachmentArray, String? updatedAt, String? createdAt, int? totalCount, bool? canClaimed})
ListingListData.fromJson(Map<String, dynamic> json)
factory

Properties

address String?
getter/setter pair
avgRating String?
getter/setter pair
businessImage String?
getter/setter pair
businessTypeList List<BusinessType>?
getter/setter pair
canClaimed bool?
getter/setter pair
city String?
getter/setter pair
contactNumber String?
getter/setter pair
country String?
getter/setter pair
createdAt String?
getter/setter pair
description String?
getter/setter pair
discount String?
getter/setter pair
distance String?
getter/setter pair
email String?
getter/setter pair
features List<PlaceDescribeModel>?
getter/setter pair
galleryAttachmentArray List<GalleryAttachmentArray>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hideLocation bool?
getter/setter pair
id int?
getter/setter pair
isFavourite num?
getter/setter pair
isFeatured ↔ dynamic
getter/setter pair
isOpen int?
getter/setter pair
latitude String?
getter/setter pair
longitude String?
getter/setter pair
musicTypeDisplay String?
getter/setter pair
musicTypeList List<MusicAffinityModel>?
getter/setter pair
name String?
getter/setter pair
postalCode String?
getter/setter pair
priceRange String?
getter/setter pair
rating List<Rating>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socialMediaUrl SocialMediaUrl?
getter/setter pair
state String?
getter/setter pair
status String?
getter/setter pair
tags List<String>?
getter/setter pair
totalCount int?
getter/setter pair
totalRating int?
getter/setter pair
updatedAt String?
getter/setter pair
userType String?
getter/setter pair
webpageUrl String?
getter/setter pair
workingHour WorkingHourModel?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited