simpleSuffix static method

OutputPathHandler simpleSuffix({
  1. required String suffix,
})

Implementation

static OutputPathHandler simpleSuffix({required String suffix}) =>
    (String inputPath, FileFormat outputType) => paths.join(
        paths.dirname(inputPath),
        "${paths.basenameWithoutExtension(inputPath)}$suffix.${outputType.validExtensions.first}");