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