toJson method
Implementation
Map<String, dynamic> toJson() => {
'id': id,
'customerId': customerId,
'productId': productId,
'organization': organization.toJson(),
'customer': customer.toJson(),
'rating': rating,
'comment': comment,
'createdAt': createdAt,
};