configure method

GithubClient configure()

Configure the Github client.

Implementation

GithubClient configure() {
  var sysEnv = Platform.environment;
  var token = sysEnv[constants.githubToken];
  if (token == null) {
    throw Exception("env variable ${constants.githubToken} not found ");
  }
  _client = GithubClient(token: token);
  return _client!;
}