PagesProjectCreate class

Constructors

PagesProjectCreate({PagesBuildConfig? buildConfig, PagesDeploymentConfigs? deploymentConfigs, String? name, String? productionBranch})
Returns a new PagesProjectCreate instance.

Properties

buildConfig ↔ PagesBuildConfig?
BuildConfig says how to build the site. Omitted means no build step.
getter/setter pair
deploymentConfigs ↔ PagesDeploymentConfigs?
DeploymentConfigs carries the preview and production runtime configs — the bindings and variables the built site's functions run with.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name is the project name, and it is also the address: the site answers at
getter/setter pair
productionBranch ↔ String?
ProductionBranch is which git branch builds to production; every other branch builds a preview. Omitted leaves Cloudflare's own default.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → PagesProjectCreate?
Returns a new PagesProjectCreate instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PagesProjectCreate>
mapFromJson(dynamic json) → Map<String, PagesProjectCreate>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PagesProjectCreate>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.