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.

35 lines
890 B

class MeetingModel {
MeetingModel();
late int id;
late String title;
late String content;
late int seconds;
late String address;
late String longitude;
late String latitude;
late int creationtime;
factory MeetingModel.fromJson(Map<String, dynamic> map) => MeetingModel()
..id = map["id"]
..title = map["title"]
..content = map["content"]
..seconds = map["seconds"]
..address = map["address"]
..longitude = map["longitude"]
..latitude = map["latitude"]
..creationtime = map["creationtime"];
Map<String, dynamic> toJson() {
final data = <String, dynamic>{};
data['id'] = id;
data['title'] = title;
data['content'] = content;
data['seconds'] = seconds;
data['address'] = address;
data['longitude'] = longitude;
data['latitude'] = latitude;
data['creationtime'] = creationtime;
return data;
}
}