toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
      "description": description,
      "score": score,
      "reaction": reaction,
      "parentId": parentId,
      "productId": productId,
      "targetUserId": targetUserId,
      "userId": userId,
      "tags": List<dynamic>.from(tags.map((dynamic x) => x)),
    };