toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final authorName = this.authorName;
  final comments = this.comments;
  final reviewId = this.reviewId;
  return {
    'authorName': ?authorName,
    'comments': ?comments,
    'reviewId': ?reviewId,
  };
}