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