InnoSetupCompression.level constructor

InnoSetupCompression.level(
  1. String name,
  2. InnoSetupCompressionLevel level
)

Defines a compression with a name and possible level.

Refer InnoSetupCompressionLevel for level.

const zip = InnoSetupCompression.range('zip', 2);  // -> zip/2

Implementation

factory InnoSetupCompression.level(
  String name,
  InnoSetupCompressionLevel level,
) =>
    InnoSetupCompression('$name/${level.value}');