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