ProjectsSite class
Constructors
- ProjectsSite({String? name, String? slug, String? status, int? updatedAt, String? url})
- Returns a new ProjectsSite instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- name ↔ String?
-
Name is the site's display name.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug ↔ String?
-
Slug is the site's handle — also the label of the host it serves at.
getter/setter pair
- status ↔ String?
-
Status is the project's state behind the site — whether it is serving, still building, or failed its last build. A site that is listed is not necessarily one that answers.
getter/setter pair
- updatedAt ↔ int?
-
UpdatedAt is when the project last changed, as Unix seconds.
getter/setter pair
- url ↔ String?
-
URL is the pretty address readers use, not the object-store path behind it.
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) → ProjectsSite? -
Returns a new ProjectsSite instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ProjectsSite> -
mapFromJson(
dynamic json) → Map< String, ProjectsSite> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ProjectsSite> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.