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