UrlRewrite.fromJson constructor

UrlRewrite.fromJson(
  1. Map json_
)

Implementation

UrlRewrite.fromJson(core.Map json_)
  : this(
      hostRewrite: json_['hostRewrite'] as core.String?,
      pathPrefixRewrite: json_['pathPrefixRewrite'] as core.String?,
      pathTemplateRewrite: json_['pathTemplateRewrite'] as core.String?,
      regexRewrite: json_.containsKey('regexRewrite')
          ? RegexRewrite.fromJson(
              json_['regexRewrite'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );