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.
29 lines
710 B
29 lines
710 B
class MeetingModel {
|
|
MeetingModel();
|
|
|
|
late int id;
|
|
late String title;
|
|
late String content;
|
|
late String language;
|
|
late int seconds;
|
|
late int creationtime;
|
|
|
|
factory MeetingModel.fromJson(Map<String, dynamic> map) => MeetingModel()
|
|
..id = map["id"]
|
|
..title = map["title"]
|
|
..content = map["content"]
|
|
..language = map["language"]
|
|
..seconds = map["seconds"]
|
|
..creationtime = map["creationtime"];
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final data = <String, dynamic>{};
|
|
data['id'] = id;
|
|
data['title'] = title;
|
|
data['content'] = content;
|
|
data['language'] = language;
|
|
data['seconds'] = seconds;
|
|
data['creationtime'] = creationtime;
|
|
return data;
|
|
}
|
|
}
|
|
|