class Event{ int id; String urn; String label; String type; String description; String status; Event({ required this.id, required this.urn, required this.label, required this.type, required this.description, required this.status }); } class EventType{ String name; int id; EventType({ required this.name, required this.id }); }