toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return <String, dynamic>{
    if (author != null) r'author': author,
    if (itemReviewed != null) r'itemReviewed': itemReviewed,
    if (self != null) r'self': self,
  };
}