V2TimMemberInfoChanged.fromJson constructor

V2TimMemberInfoChanged.fromJson(
  1. Map json
)

Implementation

V2TimMemberInfoChanged.fromJson(Map json) {
  json = Utils.formatJson(json);
  groupID = json['groupID'];
  if (json['groupMemberChangeInfoList'] != null) {
    groupMemberChangeInfoList = List.empty(growable: true);
    json['groupMemberChangeInfoList'].forEach((v) {
      groupMemberChangeInfoList?.add(V2TimGroupMemberChangeInfo.fromJson(v));
    });
  }
}