ProjectsDomain class

Constructors

ProjectsDomain({int? createdAt, String? detail, String? host, List<DnsRecord> records = const [], String? status, String? url, bool? verified})
Returns a new ProjectsDomain instance.

Properties

createdAt ↔ int?
CreatedAt is when the host was claimed, as Unix seconds — not when it went live.
getter/setter pair
detail ↔ String?
Detail is what is holding the claim up, in words a person can act on.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
host ↔ String?
Host is the custom hostname claimed for this site.
getter/setter pair
records ↔ List<DnsRecord>
Records are EXACTLY the DNS records to publish to prove ownership and route the host. Present only while pending, because a live host has already proved it; absent is therefore "nothing left to do", not "we cannot say what to do".
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
Status is live when the edge answers for this host now, pending while the claim is waiting on DNS proof of ownership. A pending host is claimed but serves nothing.
getter/setter pair
url ↔ String?
URL is where the host will serve once it is live — present on a pending claim too, so a console can show the destination before it works.
getter/setter pair
verified ↔ bool?
Verified is the same fact as a boolean, for a caller that only needs the yes or no. It cannot disagree with status.
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) → ProjectsDomain?
Returns a new ProjectsDomain instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ProjectsDomain>
mapFromJson(dynamic json) → Map<String, ProjectsDomain>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ProjectsDomain>>

Constants

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