NetworkAssetBundle constructor

NetworkAssetBundle(
  1. Uri baseUrl
)

Creates an network asset bundle that resolves asset keys as URLs relative to the given base URL.

Implementation

NetworkAssetBundle(Uri baseUrl)
  : _baseUrl = baseUrl,
    _httpClient = HttpClient();