Issue class

Model class for an issue on the tracker.

Annotations
  • @JsonSerializable()

Constructors

Issue({int id = 0, String url = '', String htmlUrl = '', int number = 0, String state = '', String title = '', User? user, List<IssueLabel>? labels, User? assignee, Milestone? milestone, int commentsCount = 0, IssuePullRequest? pullRequest, DateTime? createdAt, DateTime? closedAt, DateTime? updatedAt, String body = '', User? closedBy})
Issue.fromJson(Map<String, dynamic> input)
factory

Properties

assignee User?
The User that the issue is assigned to
getter/setter pair
body 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
createdAt DateTime?
Time that the issue was created at
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
milestone Milestone?
The Milestone
getter/setter pair
number int
Issue Number
getter/setter pair
pullRequest IssuePullRequest?
A Pull Request
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String
Issue State
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