CommitComment class Null safety

Model class for a commit comment.

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

Annotations

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/...
@JsonKey(name: 'url'), 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. [...]
read-only, inherited
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.
read-only, inherited
updatedAt DateTime?
Can be equals to createdAt
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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