GroupMemberEnterEntity.fromJson constructor

GroupMemberEnterEntity.fromJson(
  1. dynamic data
)

Implementation

GroupMemberEnterEntity.fromJson(data) {
  Map<String, dynamic> json =
      data is Map ? data.cast<String, dynamic>() : jsonDecode(data);
  if (json['groupID'] != null) groupID = json['groupID'];
  if (json["memberList"] != null)
    memberList =
        ListUtil.generateOBJList<GroupMemberEntity>(json['memberList']);
}