GithubTestStore constructor

GithubTestStore({
  1. String branch = 'main',
  2. String committerEmail = 'noop@github.com',
  3. String committerName = 'ATF GH Plugin',
  4. required GitHub github,
  5. String goldenImagesPath = 'goldens',
  6. required RepositorySlug slug,
  7. String testsPath = 'tests',
})

Implementation

GithubTestStore({
  this.branch = 'main',
  String committerEmail = 'noop@github.com',
  String committerName = 'ATF GH Plugin',
  required GitHub github,
  this.goldenImagesPath = 'goldens',
  required this.slug,
  this.testsPath = 'tests',
})  :
      // Double encode to turn it fully into an escaped JSON encoded string
      _committer = {
        'email': committerEmail,
        'name': committerName,
      },
      _github = github;