UCommentCreateParams.fromMap constructor
Implementation
factory UCommentCreateParams.fromMap(Map<String, dynamic> json) => UCommentCreateParams(
description: json["description"],
score: json["score"] ?? 0,
reaction: json["reaction"],
parentId: json["parentId"],
productId: json["productId"],
targetUserId: json["targetUserId"],
userId: json["userId"],
tags: List<int>.from(json["tags"].map((dynamic x) => x)),
);