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})
CommitComment.fromJson(Map<String, dynamic> input)
factory

Properties

apiUrl String?
Ex: https://api.github.com/...
final
body String?
Content of the comment
final
commitId String?
SHA of the commit where the comment has been made
final
createdAt DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
htmlUrl String?
Ex: https://github.com/...
final
id int?
Id of the comment
final
line int?
Line on file
final
path String?
Relative path of the file on which the comment has been posted
final
position int?
Position on the diff
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
Can be equals to createdAt
final

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