class Session { final String sessId; final String title; Session({required this.sessId, required this.title}); factory Session.fromJson(Map json) { return Session( sessId: json['sessId'], title: json['title'], ); } }