ProjectsSiteDeploy class

Constructors

ProjectsSiteDeploy({String? deploymentId, List<String> files = const [], String? name, String? slug, String? status, String? url})
Returns a new ProjectsSiteDeploy instance.

Properties

deploymentId ↔ String?
DeploymentID is the deployment this publish recorded, for the history.
getter/setter pair
files ↔ List<String>
Files are the site-relative paths that were uploaded, sorted.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name is the project's display name.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slug ↔ String?
Slug is the project the site was published into, created on the fly when the slug was free.
getter/setter pair
status ↔ String?
Status is the deployment status, "live" on success.
getter/setter pair
url ↔ String?
URL is the canonical live URL, https://
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) → ProjectsSiteDeploy?
Returns a new ProjectsSiteDeploy instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ProjectsSiteDeploy>
mapFromJson(dynamic json) → Map<String, ProjectsSiteDeploy>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ProjectsSiteDeploy>>

Constants

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