You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aku_new_community/lib/models/home/home_swiper_model.dart

24 lines
573 B

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