IssueHit class

Constructors

IssueHit({String? assignee, String? kind, int? number, String? priority, String? project, String? repo, String? room, String? source_, String? status, String? title, String? url})
Returns a new IssueHit instance.

Properties

assignee ↔ String?
Assignee is who holds the work. EMPTY MEANS UNHELD, which is what makes the issue claimable: claiming one already held by someone else is refused with 409 rather than quietly taken.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
kind ↔ String?
Kind is what the row IS: issue, pr or epic.
getter/setter pair
number ↔ int?
Number is the issue's number on that board, from 1 and monotonic there. Unique per board, never across the org — so it addresses an issue only together with Project.
getter/setter pair
priority ↔ String?
Priority is urgent, high, medium, low or none. Never empty — an unset priority is the value "none".
getter/setter pair
project ↔ String?
Project is the board key the issue is on. It and Number are the issue's address in every other route on this surface, which is why a hit carries it.
getter/setter pair
repo ↔ String?
Repo is the git repository the issue is bound to, empty when it is not repo-bound.
getter/setter pair
room ↔ String?
Room is the collaboration room the issue belongs to, spelled "
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source_ ↔ String?
Source is which surface opened it: team, git, crm, helpdesk, cms or agent. "git" is how the mirrored forge and GitHub rows are spelled.
getter/setter pair
status ↔ String?
Status is the board column: backlog, todo, in_progress, done or canceled. Claiming moves backlog and todo to in_progress and leaves the other three where they are.
getter/setter pair
title ↔ String?
Title is the issue's one-line summary — what the q filter matched, along with the description.
getter/setter pair
url ↔ String?
URL is the row's external anchor — its extRef — which is a link only when the feeder sent one. A mirrored GitHub issue carries "github:owner/repo#123" and an agent's PR row carries the pushed branch. Empty for a row opened here.
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) → IssueHit?
Returns a new IssueHit instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<IssueHit>
mapFromJson(dynamic json) → Map<String, IssueHit>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<IssueHit>>

Constants

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