memberInfoListResult2DartInfoResult static method

V2TimGroupMemberInfoResult memberInfoListResult2DartInfoResult(
  1. dynamic jsonInfo
)

Implementation

static V2TimGroupMemberInfoResult memberInfoListResult2DartInfoResult(jsonInfo) {
  List list = List.empty(growable: true);
  for (dynamic item in jsonInfo["group_get_member_info_list_result_info_array"]) {
    list.add(memberInfo2DartFullInfo(item).toJson());
  }
  return V2TimGroupMemberInfoResult.fromJson({
    "nextSeq": jsonInfo["group_get_member_info_list_result_next_seq"].toString(),
    "memberInfoList": list,
  });
}