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 (prefixRedirect != null) 'prefixRedirect': prefixRedirect!,
      if (redirectResponseCode != null)
        'redirectResponseCode': redirectResponseCode!,
      if (stripQuery != null) 'stripQuery': stripQuery!,
    };