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.
38 lines
952 B
38 lines
952 B
class MeetingModel {
|
|
MeetingModel();
|
|
|
|
late int id;
|
|
late String title;
|
|
late String type;
|
|
late int seconds;
|
|
late String filepath;
|
|
late String audiourl;
|
|
late String taskid;
|
|
late int tasktype;
|
|
late int creationtime;
|
|
|
|
factory MeetingModel.fromJson(Map<String, dynamic> map) => MeetingModel()
|
|
..id = map["id"]
|
|
..title = map["title"]
|
|
..type = map["type"]
|
|
..seconds = map["seconds"]
|
|
..filepath = map["filepath"]
|
|
..audiourl = map["audiourl"]
|
|
..taskid = map["taskid"]
|
|
..tasktype = map["tasktype"]
|
|
..creationtime = map["creationtime"];
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final data = <String, dynamic>{};
|
|
data['id'] = id;
|
|
data['title'] = title;
|
|
data['type'] = type;
|
|
data['seconds'] = seconds;
|
|
data['filepath'] = filepath;
|
|
data['audiourl'] = audiourl;
|
|
data['taskid'] = taskid;
|
|
data['tasktype'] = tasktype;
|
|
data['creationtime'] = creationtime;
|
|
return data;
|
|
}
|
|
}
|
|
|