Github constructor
Github({
- required String url,
- required String accessToken,
- CodeFilter? codeFilter,
- IssueFilter? issueFilter,
- List<
GithubExtract> extractOnly = const [GithubExtract.code],
Creates a new Github object.
url
: GitHub repo link that you want to extract and save for referencing.codeFilter
: CodeFilter object to selectively choose the repository codes files based on the specified pattern.issueFilter
: IssueFilter object to pick selected issues from the GitHub repository.
Implementation
Github(
{required this.url,
required this.accessToken,
this.codeFilter,
this.issueFilter,
this.extractOnly = const [GithubExtract.code]});