// GENERATED CODE - DO NOT MODIFY BY HAND part of 'spotify_feed.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _$SpotifySectionPlaylistImpl _$$SpotifySectionPlaylistImplFromJson( Map json) => _$SpotifySectionPlaylistImpl( description: json['description'] as String, format: json['format'] as String, images: (json['images'] as List) .map((e) => SpotifySectionItemImage.fromJson(e as Map)) .toList(), name: json['name'] as String, owner: json['owner'] as String, uri: json['uri'] as String, ); Map _$$SpotifySectionPlaylistImplToJson( _$SpotifySectionPlaylistImpl instance) => { 'description': instance.description, 'format': instance.format, 'images': instance.images, 'name': instance.name, 'owner': instance.owner, 'uri': instance.uri, }; _$SpotifySectionArtistImpl _$$SpotifySectionArtistImplFromJson( Map json) => _$SpotifySectionArtistImpl( name: json['name'] as String, uri: json['uri'] as String, images: (json['images'] as List) .map((e) => SpotifySectionItemImage.fromJson(e as Map)) .toList(), ); Map _$$SpotifySectionArtistImplToJson( _$SpotifySectionArtistImpl instance) => { 'name': instance.name, 'uri': instance.uri, 'images': instance.images, }; _$SpotifySectionAlbumImpl _$$SpotifySectionAlbumImplFromJson( Map json) => _$SpotifySectionAlbumImpl( artists: (json['artists'] as List) .map((e) => SpotifySectionAlbumArtist.fromJson(e as Map)) .toList(), images: (json['images'] as List) .map((e) => SpotifySectionItemImage.fromJson(e as Map)) .toList(), name: json['name'] as String, uri: json['uri'] as String, ); Map _$$SpotifySectionAlbumImplToJson( _$SpotifySectionAlbumImpl instance) => { 'artists': instance.artists, 'images': instance.images, 'name': instance.name, 'uri': instance.uri, }; _$SpotifySectionAlbumArtistImpl _$$SpotifySectionAlbumArtistImplFromJson( Map json) => _$SpotifySectionAlbumArtistImpl( name: json['name'] as String, uri: json['uri'] as String, ); Map _$$SpotifySectionAlbumArtistImplToJson( _$SpotifySectionAlbumArtistImpl instance) => { 'name': instance.name, 'uri': instance.uri, }; _$SpotifySectionItemImageImpl _$$SpotifySectionItemImageImplFromJson( Map json) => _$SpotifySectionItemImageImpl( height: json['height'] as num?, url: json['url'] as String, width: json['width'] as num?, ); Map _$$SpotifySectionItemImageImplToJson( _$SpotifySectionItemImageImpl instance) => { 'height': instance.height, 'url': instance.url, 'width': instance.width, }; _$SpotifyHomeFeedSectionItemImpl _$$SpotifyHomeFeedSectionItemImplFromJson( Map json) => _$SpotifyHomeFeedSectionItemImpl( typename: json['typename'] as String, playlist: json['playlist'] == null ? null : SpotifySectionPlaylist.fromJson( json['playlist'] as Map), artist: json['artist'] == null ? null : SpotifySectionArtist.fromJson( json['artist'] as Map), album: json['album'] == null ? null : SpotifySectionAlbum.fromJson(json['album'] as Map), ); Map _$$SpotifyHomeFeedSectionItemImplToJson( _$SpotifyHomeFeedSectionItemImpl instance) => { 'typename': instance.typename, 'playlist': instance.playlist, 'artist': instance.artist, 'album': instance.album, }; _$SpotifyHomeFeedSectionImpl _$$SpotifyHomeFeedSectionImplFromJson( Map json) => _$SpotifyHomeFeedSectionImpl( typename: json['typename'] as String, title: json['title'] as String?, uri: json['uri'] as String, items: (json['items'] as List) .map((e) => SpotifyHomeFeedSectionItem.fromJson(e as Map)) .toList(), ); Map _$$SpotifyHomeFeedSectionImplToJson( _$SpotifyHomeFeedSectionImpl instance) => { 'typename': instance.typename, 'title': instance.title, 'uri': instance.uri, 'items': instance.items, }; _$SpotifyHomeFeedImpl _$$SpotifyHomeFeedImplFromJson( Map json) => _$SpotifyHomeFeedImpl( greeting: json['greeting'] as String, sections: (json['sections'] as List) .map( (e) => SpotifyHomeFeedSection.fromJson(e as Map)) .toList(), ); Map _$$SpotifyHomeFeedImplToJson( _$SpotifyHomeFeedImpl instance) => { 'greeting': instance.greeting, 'sections': instance.sections, };