toJson method
Implementation
Map<String, Object?> toJson() {
var event = this.event;
var notifications = this.notifications;
final json = <String, Object?>{};
json[r'event'] = event.toJson();
json[r'notifications'] = notifications.map((i) => i.toJson()).toList();
return json;
}