toFileHeaderInfo method

FileHeaderInfo toFileHeaderInfo()

Implementation

FileHeaderInfo toFileHeaderInfo() {
  switch (this) {
    case 'USE':
      return FileHeaderInfo.use;
    case 'IGNORE':
      return FileHeaderInfo.ignore;
    case 'NONE':
      return FileHeaderInfo.none;
  }
  throw Exception('$this is not known in enum FileHeaderInfo');
}