fromJsObj static method
Implementation
static V2TimMessageReaction fromJsObj(Map<String, dynamic> data) {
return V2TimMessageReaction.fromJson({
"reactionID": data["reactionID"] ?? "",
"totalUserCount": data["totalUserCount"] ?? 0,
"reactedByMyself": data["reactedByMyself"] ?? false,
"partialUserList": V2TimUserInfoWeb.fromJsObjs(
List<dynamic>.from(data["partialUserList"] ?? []))
.map((e) => e.toJson())
.toList(),
});
}