V2TimMemberInvited.fromJson constructor

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

Implementation

V2TimMemberInvited.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));
    });
  }
}