simplePrefix static method

OutputPathHandler simplePrefix({
  1. required String prefix,
})

Implementation

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