PagesBuildConfig class

Constructors

PagesBuildConfig({String? buildCommand, String? destinationDir, String? rootDir})
Returns a new PagesBuildConfig instance.

Properties

buildCommand ↔ String?
BuildCommand is what Cloudflare runs to build the site ("npm run build"). Omitted means no build step: the repository is published as it stands.
getter/setter pair
destinationDir ↔ String?
DestinationDir is the directory the build leaves the site in ("dist"), relative to RootDir. It is what gets served.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
rootDir ↔ String?
RootDir is where in the repository the build runs, for a project that is not at the repository root. Omitted means the root.
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) → PagesBuildConfig?
Returns a new PagesBuildConfig instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PagesBuildConfig>
mapFromJson(dynamic json) → Map<String, PagesBuildConfig>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PagesBuildConfig>>

Constants

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