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