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
324 B
15 lines
324 B
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'album.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Album {
|
|
Album(this.name, this.uri);
|
|
|
|
final String? name;
|
|
final String? uri;
|
|
|
|
factory Album.fromJson(Map<String, dynamic> json) => _$AlbumFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$AlbumToJson(this);
|
|
}
|
|
|