29 lines
1009 B
Dart
29 lines
1009 B
Dart
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'news.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
_$NewsImpl _$$NewsImplFromJson(Map<String, dynamic> json) => _$NewsImpl(
|
||
|
title: json['title'] as String?,
|
||
|
teaserImage: json['teaserImage'] == null
|
||
|
? null
|
||
|
: TeaserImage.fromJson(json['teaserImage'] as Map<String, dynamic>),
|
||
|
brandingImage: json['brandingImage'] == null
|
||
|
? null
|
||
|
: TeaserImage.fromJson(json['brandingImage'] as Map<String, dynamic>),
|
||
|
date: json['date'] as String?,
|
||
|
type: json['type'] as String?,
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$$NewsImplToJson(_$NewsImpl instance) =>
|
||
|
<String, dynamic>{
|
||
|
'title': instance.title,
|
||
|
'teaserImage': instance.teaserImage,
|
||
|
'brandingImage': instance.brandingImage,
|
||
|
'date': instance.date,
|
||
|
'type': instance.type,
|
||
|
};
|