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 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 toJson() { final data = {}; 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; } }