MetaFetchTester constructor

MetaFetchTester(
  1. MockOgHrefClientConstructor clientConstructor
)

Generate new MetaFetchTester for running MetaFetch features in simulated environment.

To apply the features to other oghref packages, please attach it into MetaFetch.instance.

Implementation

MetaFetchTester(MockOgHrefClientConstructor clientConstructor)
    : _clientConstructor = clientConstructor,
      super._(
          additionalSupportedContentType: const {"text/plain"},
          additionalSupportedExtensions: const {"txt"});