UCommentJson.fromMap constructor

UCommentJson.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory UCommentJson.fromMap(Map<String, dynamic> json) => UCommentJson(
  reacts: json["reacts"] == null ? <UCommentReacts>[] : List<UCommentReacts>.from(json["reacts"].map((dynamic x) => UCommentReacts.fromMap(x))),
  detail1: json["detail1"],
  detail2: json["detail2"],
);