TodoProject class

Constructors

TodoProject({int? createdAt, String? description, String? id, String? key, String? name, String? org, int? updatedAt})
Returns a new TodoProject instance.

Properties

createdAt ↔ int?
CreatedAt is when the board was created, in unix seconds. 0 on a forge board for the same reason Description is absent.
getter/setter pair
description ↔ String?
Description is whatever an index board was created with. Absent on a forge board: this projection takes the repository's name and nothing else about the repository.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the board's opaque handle, and it is NOT how you address it — Key is. Its shape says which source answered: a forge board's is the repository's full name ("hanzoai/cloud"), an index board's a minted "prj_" id.
getter/setter pair
key ↔ String?
Key addresses the board everywhere else — /v1/todo/projects/
getter/setter pair
name ↔ String?
Name is the board's display name. For a forge board it is the repository name, so it equals Key; an index board carries its own.
getter/setter pair
org ↔ String?
Org is the IAM org the board belongs to, taken from the validated principal and never from the request. Every board a caller can see is in it.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt ↔ int?
UpdatedAt is when the board record last changed, in unix seconds — the BOARD, not the work on it, so filing an issue does not move it. 0 on a forge board.
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) → TodoProject?
Returns a new TodoProject instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<TodoProject>
mapFromJson(dynamic json) → Map<String, TodoProject>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<TodoProject>>

Constants

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