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

25 lines
574 B

import 'package:json_annotation/json_annotation.dart';
3 years ago
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<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,
});
}