FlutterDocsClient constructor
FlutterDocsClient({
- required CacheManager cacheManager,
- HttpClientWrapper? httpClient,
Creates a new Flutter docs client.
An optional httpClient can be provided for testing; otherwise a default
HttpClientWrapper is created automatically.
Implementation
FlutterDocsClient({
required CacheManager cacheManager,
HttpClientWrapper? httpClient,
}) : _cache = cacheManager,
_http = httpClient ?? HttpClientWrapper();