class MeetingModel { MeetingModel(); late int id; late String title; late String type; late int seconds; late String filepath; late String audiourl; late int tasktype; late int creationtime; factory MeetingModel.fromJson(Map map) => MeetingModel() ..id = map["id"] ..title = map["title"] ..type = map["type"] ..seconds = map["seconds"] ..filepath = map["filepath"] ..audiourl = map["audiourl"] ..tasktype = map["tasktype"] ..creationtime = map["creationtime"]; Map toJson() { final data = {}; data['id'] = id; data['title'] = title; data['type'] = type; data['seconds'] = seconds; data['filepath'] = filepath; data['audiourl'] = audiourl; data['tasktype'] = tasktype; data['creationtime'] = creationtime; return data; } }