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.
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'news_item_model.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
NewsItemModel _$NewsItemModelFromJson(Map<String, dynamic> json) =>
|
|
|
|
NewsItemModel(
|
|
|
|
id: json['id'] as int,
|
|
|
|
title: json['title'] as String,
|
|
|
|
createDate: json['createDate'] as String,
|
|
|
|
imgList: (json['imgList'] as List<dynamic>)
|
|
|
|
.map((e) => ImgModel.fromJson(e as Map<String, dynamic>))
|
|
|
|
.toList(),
|
|
|
|
);
|