selectTargetPath method

String selectTargetPath(
  1. OperationType operationType
)

Implementation

String selectTargetPath(OperationType operationType) {
  switch (operationType) {
    case OperationType.specificFile:
      return selectSpecificFiles();
    case OperationType.specificFolder:
      return selectFolderPath();
    case OperationType.entireProject:
      return confirmEntireProject();
    default:
      throw Exception('Invalid operation selected.');
  }
}