toString method

  1. @override
String toString()
inherited

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

@override
String toString() {
  return '''
progressCount: ${progressCount},
totalStep: ${totalStep},
isOwner: ${isOwner},
listingType: ${listingType},
selectedBusinessType: ${selectedBusinessType},
musicAffinityList: ${musicAffinityList},
selectedMusicType: ${selectedMusicType},
countryList: ${countryList},
stateList: ${stateList},
cityList: ${cityList},
selectedCountry: ${selectedCountry},
selectedState: ${selectedState},
selectedCity: ${selectedCity},
countryId: ${countryId},
stateId: ${stateId},
cityId: ${cityId},
businessName: ${businessName},
address: ${address},
postalCode: ${postalCode},
placeDescription: ${placeDescription},
labelText: ${labelText},
discountPercentage: ${discountPercentage},
selectPriceRange: ${selectPriceRange},
priceRangeValue: ${priceRangeValue},
placeImageFiles: ${placeImageFiles},
placeDescribeList: ${placeDescribeList},
selectedPlaceDescribeList: ${selectedPlaceDescribeList},
selectedListingCountry: ${selectedListingCountry},
listingPhoneNumber: ${listingPhoneNumber},
websiteUrl: ${websiteUrl},
facebookUrl: ${facebookUrl},
instagramUrl: ${instagramUrl},
emailAddress: ${emailAddress},
ownerDesignation: ${ownerDesignation},
labelList: ${labelList},
selectedLabelList: ${selectedLabelList},
hideLocation: ${hideLocation},
isMonClose: ${isMonClose},
isTueClose: ${isTueClose},
isWedClose: ${isWedClose},
isThuClose: ${isThuClose},
isFriClose: ${isFriClose},
isSatClose: ${isSatClose},
isSunClose: ${isSunClose},
monOpenTime: ${monOpenTime},
monCloseTime: ${monCloseTime},
tueOpenTime: ${tueOpenTime},
tueCloseTime: ${tueCloseTime},
wedOpenTime: ${wedOpenTime},
wedCloseTime: ${wedCloseTime},
thuOpenTime: ${thuOpenTime},
thuCloseTime: ${thuCloseTime},
friOpenTime: ${friOpenTime},
friCloseTime: ${friCloseTime},
satOpenTime: ${satOpenTime},
satCloseTime: ${satCloseTime},
sunOpenTime: ${sunOpenTime},
sunCloseTime: ${sunCloseTime},
openDayList: ${openDayList}
  ''';
}