toCsvHeaderOption method

CsvHeaderOption toCsvHeaderOption()

Implementation

CsvHeaderOption toCsvHeaderOption() {
  switch (this) {
    case 'UNKNOWN':
      return CsvHeaderOption.unknown;
    case 'PRESENT':
      return CsvHeaderOption.present;
    case 'ABSENT':
      return CsvHeaderOption.absent;
  }
  throw Exception('$this is not known in enum CsvHeaderOption');
}