You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
330 B
15 lines
330 B
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'artist.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Artist {
|
|
Artist(this.name, this.uri);
|
|
|
|
final String? name;
|
|
final String? uri;
|
|
|
|
factory Artist.fromJson(Map<String, dynamic> json) => _$ArtistFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$ArtistToJson(this);
|
|
}
|
|
|