fromJsObj static method

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

Implementation

static V2TimMessageReactionUserResult fromJsObj(Map<String, dynamic> data) {
  return V2TimMessageReactionUserResult.fromJson({
    "nextSeq": data["nextSeq"] ?? 0,
    "isFinished": data["isCompleted"] ?? true,
    "userInfoList": V2TimUserInfoWeb.fromJsObjs(
            List<dynamic>.from(data["userList"] ?? []))
        .map((e) => e.toJson())
        .toList(),
  });
}