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