OnTheFlyEncoder typedef

OnTheFlyEncoder = Future<Module> Function(RegistrySource source, String resolvedVersion)

Callback type for on-the-fly encoding of packages that don't publish Ball artifacts. The CLI provides this using PubClient

  • PackageEncoder.

Implementation

typedef OnTheFlyEncoder =
    Future<Module> Function(RegistrySource source, String resolvedVersion);