GitHubClient class

Constructors

GitHubClient({required CacheManager cacheManager, HttpClientWrapper? httpClient})
Creates a new GitHub API client.

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

fetchBreakingChangeIssues(String owner, String repo) Future<List<Map<String, dynamic>>>
Fetch closed issues labelled with breaking-change indicators.
fetchChangelog(String owner, String repo, {String? ref}) Future<String?>
Fetch the CHANGELOG content from a GitHub repository.
fetchFileContent(String owner, String repo, String path, {String? ref}) Future<String?>
Fetch the raw content of a file from a GitHub repository.
fetchReleases(String owner, String repo, {int perPage = 100}) Future<List<Map<String, dynamic>>>
Fetch GitHub releases for a repository.
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

Static Methods

parseGitHubUrl(String url) → (String, String)?
Extract the (owner, repo) pair from a GitHub URL.