configure method

void configure({
  1. required String baseUrl,
})

Configure the download base URL.

Implementation

void configure({required String baseUrl}) {
  if (baseUrl.isEmpty) {
    throw ArgumentError.value(baseUrl, 'baseUrl', 'must not be empty');
  }
  this.baseUrl = baseUrl;
}