21 lines
676 B
Dart
21 lines
676 B
Dart
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'artistindex.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
ArtistIndex _$ArtistIndexFromJson(Map<String, dynamic> json) => ArtistIndex(
|
||
|
index: json['name'] as String,
|
||
|
artists: (json['artist'] as List<dynamic>)
|
||
|
.map((e) => Artist.fromJson(e as Map<String, dynamic>))
|
||
|
.toList(),
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$ArtistIndexToJson(ArtistIndex instance) =>
|
||
|
<String, dynamic>{
|
||
|
'name': instance.index,
|
||
|
'artist': instance.artists,
|
||
|
};
|