Github constructor

Github({
  1. required String url,
  2. required String accessToken,
  3. CodeFilter? codeFilter,
  4. IssueFilter? issueFilter,
  5. 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]});