GithubPagesView class

Constructors

GithubPagesView({String? buildType, String? cname, bool? custom404, bool? httpsEnforced, String? repo, GithubPagesSource? source_, String? status, String? url})
Returns a new GithubPagesView instance.

Properties

buildType ↔ String?
BuildType is the builder in use: "legacy" (branch source) or "workflow".
getter/setter pair
cname ↔ String?
CNAME is the custom domain, absent when none is set.
getter/setter pair
custom404 ↔ bool?
Custom404 is whether the repo ships its own 404 page.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
httpsEnforced ↔ bool?
HTTPSEnforced is GitHub's enforce-HTTPS bit.
getter/setter pair
repo ↔ String?
Repo is the repository the site belongs to.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source_ ↔ GithubPagesSource?
Source is the branch + path the site builds from. Absent under "workflow".
getter/setter pair
status ↔ String?
Status is GitHub's build state: "built", "building" or "errored". Absent before the first build.
getter/setter pair
url ↔ String?
URL is the live site (GitHub's html_url).
getter/setter pair

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

Constants

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