PubClient constructor

PubClient({
  1. String registryUrl = 'https://pub.flutter-io.cn',
  2. Client? httpClient,
})

Implementation

PubClient({this.registryUrl = 'https://pub.flutter-io.cn', http.Client? httpClient})
  : _http = httpClient ?? http.Client();