V2TimMemberEnter.fromJson constructor

V2TimMemberEnter.fromJson(
  1. Map json
)

Implementation

V2TimMemberEnter.fromJson(Map json) {
  json = Utils.formatJson(json);
  groupID = json['groupID'];
  if (json['memberList'] != null) {
    memberList = List.empty(growable: true);
    json['memberList'].forEach((v) {
      memberList!.add(V2TimGroupMemberInfo.fromJson(v));
    });
  }
}