ProjectView class

Constructors

ProjectView({int? applications, int? createdAt, String? description, String? name, String? org, String? slug})
Returns a new ProjectView instance.

Properties

applications ↔ int?
Applications is how many platform apps this org has under the project, counted per request. It is the one fact IAM cannot answer about a project.
getter/setter pair
createdAt ↔ int?
CreatedAt is IAM's creation time as unix seconds. 0 when IAM's timestamp is absent or unparseable — never a fabricated time.
getter/setter pair
description ↔ String?
Description is IAM's free text about the project. Nothing derives from it.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name is IAM's display name, falling back to the slug when the project has none, so this is never empty.
getter/setter pair
org ↔ String?
Org is the project's IAM owner, and the tenant every app under it deploys into. It comes from the validated identity, never from the request.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slug ↔ String?
Slug is the project's IAM name — half of the (org,name) identity, the :project path segment, and the scope key an app is filed under. It is the project's address; Name is not.
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) → ProjectView?
Returns a new ProjectView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ProjectView>
mapFromJson(dynamic json) → Map<String, ProjectView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ProjectView>>

Constants

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