fromJsObj static method

V2TimMessageReactionResult fromJsObj(
  1. Map<String, dynamic> data
)

Implementation

static V2TimMessageReactionResult fromJsObj(Map<String, dynamic> data) {
  return V2TimMessageReactionResult.fromJson({
    "messageID": data["messageID"] ?? "",
    "resultCode": 0,
    "resultInfo": "",
    "reactionList": V2TimMessageReactionWeb.fromJsObjs(
            List<dynamic>.from(data["reactionList"] ?? []))
        .map((e) => e.toJson())
        .toList(),
  });
}