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