convert method

  1. @override
File convert(
  1. String input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
File convert(String input) {
  final file = File(input);
  if (file.existsSync()) {
    return file;
  }
  throw ShellResultConversionException(File, input);
}