24 lines
763 B
Dart
24 lines
763 B
Dart
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'artist.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
Artist _$ArtistFromJson(Map<String, dynamic> json) => Artist(
|
||
|
json['id'] as String,
|
||
|
json['name'] as String,
|
||
|
(json['albumCount'] as num).toInt(),
|
||
|
json['coverArt'] as String,
|
||
|
json['artistImageUrl'] as String,
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$ArtistToJson(Artist instance) => <String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'name': instance.name,
|
||
|
'albumCount': instance.albumCount,
|
||
|
'coverArt': instance.coverArtId,
|
||
|
'artistImageUrl': instance.artistImageUrl,
|
||
|
};
|