toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['reactionID'] = reactionID;
  data['totalUserCount'] = totalUserCount;
  data['partialUserList'] = partialUserList.map((v) => v.toJson()).toList();
  data['reactedByMyself'] = reactedByMyself;
  return data;
}