toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final authorInfo = this.authorInfo;
  final comment = this.comment;
  final createTime = this.createTime;
  final item = this.item;
  final name = this.name;
  final rating = this.rating;
  return {
    'authorInfo': ?authorInfo,
    'comment': ?comment,
    'createTime': ?createTime,
    'item': ?item,
    'name': ?name,
    'rating': ?rating,
  };
}