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

18 lines
610 B

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'news_item_model.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
3 years ago
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(),
);