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