UCommentUpdateParams.fromMap constructor
UCommentUpdateParams.fromMap(
- Map<String, dynamic> json
)
Implementation
factory UCommentUpdateParams.fromMap(Map<String, dynamic> json) => UCommentUpdateParams(
description: json["description"],
score: json["score"],
id: json["id"],
addTags: json["addTags"] == null ? null : List<int>.from(json["addTags"].map((dynamic x) => x)),
removeTags: json["removeTags"] == null ? null : List<int>.from(json["removeTags"].map((dynamic x) => x)),
tags: json["tags"] == null ? null : List<int>.from(json["tags"].map((dynamic x) => x)),
);