GithubPagesUpdateReq class

Constructors

GithubPagesUpdateReq({String? branch, String? buildType, String? cname, bool? httpsEnforced, String? path, String? repo})
Returns a new GithubPagesUpdateReq instance.

Properties

branch ↔ String?
Branch switches the legacy source branch. Empty leaves the source alone.
getter/setter pair
buildType ↔ String?
BuildType switches the builder: "legacy" or "workflow". Empty leaves it.
getter/setter pair
cname ↔ String?
CNAME is the custom domain. Omit to leave it alone, "" to clear it, or a valid FQDN to set it.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
httpsEnforced ↔ bool?
HTTPSEnforced toggles GitHub's enforce-HTTPS bit. Omit to leave it alone.
getter/setter pair
path ↔ String?
Path is the source directory to pair with Branch: "/" (the default) or "/docs". Read only when Branch is given.
getter/setter pair
repo ↔ String?
Repo is the repository, from the :repo path segment.
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) → GithubPagesUpdateReq?
Returns a new GithubPagesUpdateReq instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<GithubPagesUpdateReq>
mapFromJson(dynamic json) → Map<String, GithubPagesUpdateReq>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<GithubPagesUpdateReq>>

Constants

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