Issue class

Model class for an issue on the tracker.

Annotations

Constructors

Issue({int id = 0, String url = '', String htmlUrl = '', int number = 0, String state = '', String title = '', User? user, List<IssueLabel>? labels, User? assignee, List<User>? assignees, Milestone? milestone, int commentsCount = 0, IssuePullRequest? pullRequest, DateTime? createdAt, DateTime? closedAt, DateTime? updatedAt, String body = '', User? closedBy, String? activeLockReason, String? authorAssociation, String? bodyHtml, String? bodyText, String? commentsUrl, bool? draft, String? eventsUrl, String? labelsUrl, bool? locked, String? nodeId, GitHubApp? performedViaGithubApp, ReactionRollup? reactions, Repository? repository, String? repositoryUrl, String? stateReason, String? timelineUrl})
Issue.fromJson(Map<String, dynamic> input)
factory

Properties

activeLockReason ↔ String?
getter/setter pair
assignee ↔ User?
The User that the issue is assigned to
getter/setter pair
assignees ↔ List<User>?
The User that the issue is assigned to
getter/setter pair
authorAssociation ↔ String?
How the author is associated with the repository.
getter/setter pair
body ↔ String
getter/setter pair
bodyHtml ↔ String?
getter/setter pair
bodyText ↔ String?
getter/setter pair
closedAt ↔ DateTime?
The time that the issue was closed at
getter/setter pair
closedBy ↔ User?
The user who closed the issue
getter/setter pair
commentsCount ↔ int
Number of Comments
getter/setter pair
commentsUrl ↔ String?
getter/setter pair
createdAt ↔ DateTime?
Time that the issue was created at
getter/setter pair
draft ↔ bool?
getter/setter pair
eventsUrl ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
htmlUrl ↔ String
Url to the Issue Page
getter/setter pair
id ↔ int
getter/setter pair
isClosed → bool
no setter
isOpen → bool
no setter
labels ↔ List<IssueLabel>
Issue Labels
getter/setter pair
labelsUrl ↔ String?
getter/setter pair
locked ↔ bool?
getter/setter pair
milestone ↔ Milestone?
The Milestone
getter/setter pair
nodeId ↔ String?
getter/setter pair
number ↔ int
Issue Number
getter/setter pair
performedViaGithubApp ↔ GitHubApp?
getter/setter pair
pullRequest ↔ IssuePullRequest?
A Pull Request
getter/setter pair
reactions ↔ ReactionRollup?
getter/setter pair
repository ↔ Repository?
getter/setter pair
repositoryUrl ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ String
Issue State
getter/setter pair
stateReason ↔ String?
The reason for the current state
getter/setter pair
timelineUrl ↔ String?
getter/setter pair
title ↔ String
Issue Title
getter/setter pair
updatedAt ↔ DateTime?
The time that the issue was updated at
getter/setter pair
url ↔ String
The api url.
getter/setter pair
user ↔ User?
User who created the issue.
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.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited