// GENERATED CODE - DO NOT MODIFY BY HAND part of 'support.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _$_QueueItemState _$$_QueueItemStateFromJson(Map json) => _$_QueueItemState( id: json['id'] as String, contextType: $enumDecode(_$QueueContextTypeEnumMap, json['contextType']), contextId: json['contextId'] as String?, contextTitle: json['contextTitle'] as String?, ); Map _$$_QueueItemStateToJson(_$_QueueItemState instance) => { 'id': instance.id, 'contextType': _$QueueContextTypeEnumMap[instance.contextType]!, 'contextId': instance.contextId, 'contextTitle': instance.contextTitle, }; const _$QueueContextTypeEnumMap = { QueueContextType.song: 'song', QueueContextType.album: 'album', QueueContextType.playlist: 'playlist', QueueContextType.library: 'library', QueueContextType.genre: 'genre', QueueContextType.artist: 'artist', }; _$_MediaItemData _$$_MediaItemDataFromJson(Map json) => _$_MediaItemData( sourceId: json['sourceId'] as int, albumId: json['albumId'] as String?, artCache: _$JsonConverterFromJson, MediaItemArtCache>( json['artCache'], const MediaItemArtCacheConverter().fromJson), contextType: $enumDecode(_$QueueContextTypeEnumMap, json['contextType']), contextId: json['contextId'] as String?, ); Map _$$_MediaItemDataToJson(_$_MediaItemData instance) => { 'sourceId': instance.sourceId, 'albumId': instance.albumId, 'artCache': _$JsonConverterToJson, MediaItemArtCache>( instance.artCache, const MediaItemArtCacheConverter().toJson), 'contextType': _$QueueContextTypeEnumMap[instance.contextType]!, 'contextId': instance.contextId, }; Value? _$JsonConverterFromJson( Object? json, Value? Function(Json json) fromJson, ) => json == null ? null : fromJson(json as Json); Json? _$JsonConverterToJson( Value? value, Json? Function(Value value) toJson, ) => value == null ? null : toJson(value); _$_MediaItemArtCache _$$_MediaItemArtCacheFromJson(Map json) => _$_MediaItemArtCache( fullArtUri: Uri.parse(json['fullArtUri'] as String), fullArtCacheKey: json['fullArtCacheKey'] as String, thumbnailArtUri: Uri.parse(json['thumbnailArtUri'] as String), thumbnailArtCacheKey: json['thumbnailArtCacheKey'] as String, ); Map _$$_MediaItemArtCacheToJson( _$_MediaItemArtCache instance) => { 'fullArtUri': instance.fullArtUri.toString(), 'fullArtCacheKey': instance.fullArtCacheKey, 'thumbnailArtUri': instance.thumbnailArtUri.toString(), 'thumbnailArtCacheKey': instance.thumbnailArtCacheKey, };