toJson method

Map<String, dynamic> toJson()

Implementation

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