mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00

* feat: add playback history provider * feat: implement recently played section * refactor: use route names * feat: add stats summary and top tracks/artists/albums * feat: add top date based filtering * feat: add stream money calculation * refactor: place search in mobile navbar and settings in home appbar * feat: add individual minutes and streams page * feat(stats): add individual minutes and streams page * chore: default period to 1 month * feat: add text to explain user how hypothetical fees are calculated * chore: ensure usage of route names instead of direct paths * cd: add cache key * cd: remove media_kit_event_loop from git
31 lines
1.0 KiB
Dart
31 lines
1.0 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'source_info.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
SourceInfo _$SourceInfoFromJson(Map json) => SourceInfo(
|
|
id: json['id'] as String,
|
|
title: json['title'] as String,
|
|
artist: json['artist'] as String,
|
|
thumbnail: json['thumbnail'] as String,
|
|
pageUrl: json['pageUrl'] as String,
|
|
duration: Duration(microseconds: json['duration'] as int),
|
|
artistUrl: json['artistUrl'] as String,
|
|
album: json['album'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> _$SourceInfoToJson(SourceInfo instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'title': instance.title,
|
|
'artist': instance.artist,
|
|
'artistUrl': instance.artistUrl,
|
|
'album': instance.album,
|
|
'thumbnail': instance.thumbnail,
|
|
'pageUrl': instance.pageUrl,
|
|
'duration': instance.duration.inMicroseconds,
|
|
};
|