GroupChangedEntity.fromJson constructor

GroupChangedEntity.fromJson(
  1. dynamic data
)

Implementation

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