18 lines
366 B
Dart
Raw Normal View History

2024-06-23 17:23:26 +02:00
class Post {
int? albumId;
int? id;
String? title;
String? url;
String? thumbnailUrl;
Post({this.albumId, this.id, this.title, this.url, this.thumbnailUrl});
Post.fromJson(Map<String, dynamic> json) {
albumId = json['albumId'];
id = json['id'];
title = json['title'];
url = json['url'];
thumbnailUrl = json['thumbnailUrl'];
}
}