V2TimMemberKicked.fromJson constructor

V2TimMemberKicked.fromJson(
  1. Map<String, dynamic> json
)

Implementation

V2TimMemberKicked.fromJson(Map<String, dynamic> json) {
  groupID = json['groupID'];
  opUser = V2TimGroupMemberInfo.fromJson(json['opUser']);
  if (json['memberList'] != null) {
    memberList = List.empty(growable: true);
    json['memberList'].forEach((v) {
      memberList!.add(V2TimGroupMemberInfo.fromJson(v));
    });
  }
}