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
37 lines
1.1 KiB
Dart
37 lines
1.1 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'source_map.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
SourceQualityMap _$SourceQualityMapFromJson(Map json) => SourceQualityMap(
|
|
high: json['high'] as String,
|
|
medium: json['medium'] as String,
|
|
low: json['low'] as String,
|
|
);
|
|
|
|
Map<String, dynamic> _$SourceQualityMapToJson(SourceQualityMap instance) =>
|
|
<String, dynamic>{
|
|
'high': instance.high,
|
|
'medium': instance.medium,
|
|
'low': instance.low,
|
|
};
|
|
|
|
SourceMap _$SourceMapFromJson(Map json) => SourceMap(
|
|
weba: json['weba'] == null
|
|
? null
|
|
: SourceQualityMap.fromJson(
|
|
Map<String, dynamic>.from(json['weba'] as Map)),
|
|
m4a: json['m4a'] == null
|
|
? null
|
|
: SourceQualityMap.fromJson(
|
|
Map<String, dynamic>.from(json['m4a'] as Map)),
|
|
);
|
|
|
|
Map<String, dynamic> _$SourceMapToJson(SourceMap instance) => <String, dynamic>{
|
|
'weba': instance.weba?.toJson(),
|
|
'm4a': instance.m4a?.toJson(),
|
|
};
|