RawGitHubNetworkingClient.custom constructor

RawGitHubNetworkingClient.custom({
  1. required Duration duration,
  2. required List<Interceptor> interceptors,
  3. required NetworkingGitHubRepository repository,
})

Implementation

RawGitHubNetworkingClient.custom({
  required final Duration duration,
  required final List<Interceptor> interceptors,
  required final NetworkingGitHubRepository repository,
}) : super(
        baseUrl: Uri.parse(
          'https://raw.githubusercontent.com/${repository.user}/${repository.repoId}/${repository.branch}',
        ),
        httpClient: http.Client(),
        timeoutDuration: duration,
      );