import 'package:json_annotation/json_annotation.dart'; import 'package:aku_new_community/model/common/img_model.dart'; part 'home_swiper_model.g.dart'; @JsonSerializable() class HomeSwiperModel { final int id; final int type; final String? customizeUrl; final int? associationId; final List? imgList; factory HomeSwiperModel.fromJson(Map json) => _$HomeSwiperModelFromJson(json); const HomeSwiperModel({ required this.id, required this.type, this.customizeUrl, this.associationId, this.imgList, }); }