toOutputFormat method

OutputFormat? toOutputFormat()

Implementation

OutputFormat? toOutputFormat() {
  switch (this) {
    case 'single_file':
      return OutputFormat.singleFile;
    case 'multiple_files':
      return OutputFormat.multipleFiles;
    default:
      return null;
  }
}