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},
id: ${id},
claimedBusinessList: ${claimedBusinessList},
selectedBusiness: ${selectedBusiness},
eventName: ${eventName},
eventTypeList: ${eventTypeList},
selectedEventType: ${selectedEventType},
eventDate: ${eventDate},
eventStartTime: ${eventStartTime},
eventEndTime: ${eventEndTime},
taxList: ${taxList},
selectedTax: ${selectedTax},
countryList: ${countryList},
stateList: ${stateList},
cityList: ${cityList},
selectedCountry: ${selectedCountry},
selectedState: ${selectedState},
selectedCity: ${selectedCity},
countryId: ${countryId},
stateId: ${stateId},
cityId: ${cityId},
address: ${address},
isLocationConfirmed: ${isLocationConfirmed},
musicAffinityList: ${musicAffinityList},
selectedMusicType: ${selectedMusicType},
eventImageFiles: ${eventImageFiles},
attachmentsArray: ${attachmentsArray},
eventDescription: ${eventDescription},
labelList: ${labelList},
selectedLabelList: ${selectedLabelList},
artistList: ${artistList},
selectedArtistList: ${selectedArtistList},
isAdult: ${isAdult},
isFreeEvent: ${isFreeEvent},
eventPrice: ${eventPrice},
noOfTicket: ${noOfTicket},
ticketStartDate: ${ticketStartDate},
ticketEndDate: ${ticketEndDate},
couponCode: ${couponCode},
discountOff: ${discountOff},
couponStartDate: ${couponStartDate},
couponEndDate: ${couponEndDate},
maxUsageLimit: ${maxUsageLimit},
maxLimitNo: ${maxLimitNo},
restrictUse: ${restrictUse},
cashInstruction: ${cashInstruction},
ticketTransfer: ${ticketTransfer},
selectedPaymentMethod: ${selectedPaymentMethod},
dressCodeText: ${dressCodeText},
dressCodeHtmlText: ${dressCodeHtmlText},
perksText: ${perksText},
perksHtmlText: ${perksHtmlText},
restrictionsText: ${restrictionsText},
restrictionsHtmlText: ${restrictionsHtmlText},
faqList: ${faqList},
contactName: ${contactName},
contactEmail: ${contactEmail},
selectedCountryForPhone: ${selectedCountryForPhone},
contactNumber: ${contactNumber},
website: ${website},
facebookPage: ${facebookPage},
addNormalEvent: ${addNormalEvent}
  ''';
}