simpleName static method

OutputPathHandler simpleName({
  1. required String name,
})

Implementation

static OutputPathHandler simpleName({required String name}) {
  return (String inputPath, FileFormat outputType) {
    return paths.join(paths.dirname(inputPath),
        "$name.${outputType.validExtensions.first}");
  };
}