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