toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (hostRedirect != null) 'hostRedirect': hostRedirect!,
      if (httpsRedirect != null) 'httpsRedirect': httpsRedirect!,
      if (pathRedirect != null) 'pathRedirect': pathRedirect!,
      if (portRedirect != null) 'portRedirect': portRedirect!,
      if (prefixRewrite != null) 'prefixRewrite': prefixRewrite!,
      if (responseCode != null) 'responseCode': responseCode!,
      if (stripQuery != null) 'stripQuery': stripQuery!,
    };