Config constructor

Config({
  1. bool forceFetch = false,
  2. UserAgentDevice userAgent = UserAgentDevice.mobile,
  3. bool usePassedHtml = true,
  4. bool usePassedUserAgent = false,
  5. bool usePassedCookies = false,
  6. required Map<String, List<Parser>> parsers,
  7. required List<UrlTarget> urlTargets,
})

Implementation

Config({
  this.forceFetch = false,
  this.userAgent = UserAgentDevice.mobile,
  this.usePassedHtml = true,
  this.usePassedUserAgent = false,
  this.usePassedCookies = false,
  required this.parsers,
  required this.urlTargets,
});