toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (bestRating != null) 'bestRating': bestRating!,
if (imageUrl != null) 'imageUrl': imageUrl!,
if (ratingExplanation != null) 'ratingExplanation': ratingExplanation!,
if (ratingValue != null) 'ratingValue': ratingValue!,
if (textualRating != null) 'textualRating': textualRating!,
if (worstRating != null) 'worstRating': worstRating!,
};