core.Map<core.String, core.dynamic> toJson() => { if (urlNotificationMetadata != null) 'urlNotificationMetadata': urlNotificationMetadata!, };