GitHubConfig constructor

GitHubConfig({
  1. String? clientId,
  2. Iterable<String>? scopes,
})

Implementation

factory GitHubConfig({
  $core.String? clientId,
  $core.Iterable<$core.String>? scopes,
}) {
  final $result = create();
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (scopes != null) {
    $result.scopes.addAll(scopes);
  }
  return $result;
}