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