// GENERATED CODE - DO NOT MODIFY BY HAND part of 'searchpodcast.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** SearchPodcast

_$SearchPodcastFromJson

(Map json) { return SearchPodcast

( results: (json['results'] as List) ?.map((e) => e == null ? null : _ConvertP

().fromJson(e)) ?.toList(), nextOffset: json['next_offset'] as int, total: json['total'] as int, count: json['count'] as int); } Map _$SearchPodcastToJson

(SearchPodcast

instance) => { 'results': instance.results ?.map((e) => e == null ? null : _ConvertP

().toJson(e)) ?.toList(), 'next_offset': instance.nextOffset, 'total': instance.total, 'count': instance.count }; OnlinePodcast _$OnlinePodcastFromJson(Map json) { return OnlinePodcast( earliestPubDate: json['earliest_pub_date_ms'] as int, title: json['title_original'] as String, count: json['total_episodes'] as int, description: json['description_original'] as String, image: json['image'] as String, lastestPubDate: json['lastest_pub_date_ms'] as int, rss: json['rss'] as String, publisher: json['publisher_original'] as String); } Map _$OnlinePodcastToJson(OnlinePodcast instance) => { 'earliest_pub_date_ms': instance.earliestPubDate, 'title_original': instance.title, 'rss': instance.rss, 'lastest_pub_date_ms': instance.lastestPubDate, 'description_original': instance.description, 'total_episodes': instance.count, 'image': instance.image, 'publisher_original': instance.publisher };