GitHubRepository class

Constructors

GitHubRepository.new({ProcessRunner runner = const ProcessRunner('gh')})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createReviewComment({required String repo, required int num, required String body, required String commitId, required String path, required int line}) Future<ReviewComment>
gh api
--method POST
-H "Accept: application/vnd.github.v3+json"
/repos/{repo}/pulls/{num}/comments
-f body={body}
-f commit_id={commitId}
-f path={path}
-F line={line}
getReviewComments({required String repo, required int num}) Future<Iterable<ReviewComment>>
gh api
-H "Accept: application/vnd.github.v3+json"
/repos/{repo}/pulls/{num}/comments
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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