date format
This commit is contained in:
@@ -2,12 +2,14 @@ class Events {
|
||||
String? id;
|
||||
String? name;
|
||||
String? place;
|
||||
String? startDate;
|
||||
|
||||
Events({this.place, this.id, this.name});
|
||||
Events({this.place, this.id, this.name, this.startDate});
|
||||
|
||||
Events.fromJson(Map<String, dynamic> json) {
|
||||
id = json['id'];
|
||||
name = json['name'];
|
||||
place = json['place'];
|
||||
startDate = json["start_date"];
|
||||
}
|
||||
}
|
||||
|
@@ -1,17 +0,0 @@
|
||||
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'];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user