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/announce_detail_model.g.dart

26 lines
1007 B

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'announce_detail_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
AnnounceDetailModel _$AnnounceDetailModelFromJson(Map<String, dynamic> json) =>
AnnounceDetailModel(
id: json['id'] as int,
title: json['title'] as String,
object: json['object'] as int,
status: json['status'] as int,
content: json['content'] as String,
readingVolume: json['readingVolume'] as int,
downloadNum: json['downloadNum'] as int,
modifyDate: json['modifyDate'] as String,
coverImgList: (json['coverImgList'] as List<dynamic>)
.map((e) => ImgModel.fromJson(e as Map<String, dynamic>))
.toList(),
annexImgList: (json['annexImgList'] as List<dynamic>)
.map((e) => ImgModel.fromJson(e as Map<String, dynamic>))
.toList(),
);