toJSON method

Map<String, dynamic> toJSON()

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
  };
}