RawGitHubNetworkingClient.custom constructor
RawGitHubNetworkingClient.custom({
- required Duration duration,
- required List<
Interceptor> interceptors, - 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,
);