CommitComment class

Model class for a commit comment.

See https://developer.github.com/v3/repos/comments

Annotations
  • @JsonSerializable()

Constructors

CommitComment({int? id, int? line, int? position, String? path, String? apiUrl, String? commitId, DateTime? createdAt, String? htmlUrl, DateTime? updatedAt, String? body, String? authorAssociation, String? nodeId, ReactionRollup? reactions, User? user})
CommitComment.fromJson(Map<String, dynamic> input)
factory

Properties

apiUrl String?
Ex: https://api.github.com/...
getter/setter pair
authorAssociation String?
How the author is associated with the repository.
getter/setter pair
body String?
Content of the comment
getter/setter pair
commitId String?
SHA of the commit where the comment has been made
getter/setter pair
createdAt DateTime?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
htmlUrl String?
Ex: https://github.com/...
getter/setter pair
id int?
Id of the comment
getter/setter pair
line int?
Line on file
getter/setter pair
nodeId String?
getter/setter pair
path String?
Relative path of the file on which the comment has been posted
getter/setter pair
position int?
Position on the diff
getter/setter pair
reactions ReactionRollup?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
Can be equals to createdAt
getter/setter pair
user User?
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