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