HostingVersionConfig constructor

const HostingVersionConfig({
  1. Input<List<HostingVersionConfigHeader>?>? headers,
  2. Input<List<HostingVersionConfigRedirect>?>? redirects,
  3. Input<List<HostingVersionConfigRewrite>?>? rewrites,
})

Creates a new HostingVersionConfig. headers An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, redirects An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, rewrites An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the

Implementation

const HostingVersionConfig({
  this.headers,
  this.redirects,
  this.rewrites,
});