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