toJSON method
Implementation
Map<String, dynamic> toJSON() {
return <String, dynamic>{
'id': id,
'text': text,
'ratingValue': ratingValue,
'createdDate': createdDate,
'reviewerProfile': reviewerProfileId,
'reviewerName': reviewerName,
'reviewerTitle': reviewerTitle,
'profileImgUrl':profileImgUrl,
'recommend': recommend
};
}