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