CustomDomainArgs constructor
Creates a new CustomDomainArgs.
annotations Annotations you can add to leave both human- and machine-readable metadata about your CustomDomain.
certPreference A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the GROUPED cert type, while Blaze plan domains can select any option.
customDomainId Required. The ID of the CustomDomain, which is the domain name you'd like to use with Firebase Hosting.
labels Labels used for extra metadata and/or filtering.
project Optional.
redirectTarget A domain name that this CustomDomain should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified redirect_target instead.
siteId Required.
Implementation
const CustomDomainArgs({
this.annotations,
this.certPreference,
required this.customDomainId,
this.labels,
this.project,
this.redirectTarget,
required this.siteId,
});