fetchModule abstract method

Future<ResolvedRegistryModule> fetchModule(
  1. String package,
  2. String version, {
  3. String? modulePath,
  4. ModuleEncoding encoding,
  5. String? registryUrl,
  6. Map<String, String>? headers,
})

Download the package archive and extract the Ball module bytes.

Implementation

Future<ResolvedRegistryModule> fetchModule(
  String package,
  String version, {
  String? modulePath,
  ModuleEncoding encoding,
  String? registryUrl,
  Map<String, String>? headers,
});