mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
15 lines
424 B
Dart
15 lines
424 B
Dart
part of 'metadata.dart';
|
|
|
|
@freezed
|
|
class SpotubeArtistObject with _$SpotubeArtistObject {
|
|
factory SpotubeArtistObject({
|
|
required final String uid,
|
|
required final String name,
|
|
@Default([]) final List<SpotubeImageObject> images,
|
|
required final String externalUrl,
|
|
}) = _SpotubeArtistObject;
|
|
|
|
factory SpotubeArtistObject.fromJson(Map<String, dynamic> json) =>
|
|
_$SpotubeArtistObjectFromJson(json);
|
|
}
|