toOutputSdt method

OutputSdt toOutputSdt()

Implementation

OutputSdt toOutputSdt() {
  switch (this) {
    case 'SDT_FOLLOW':
      return OutputSdt.sdtFollow;
    case 'SDT_FOLLOW_IF_PRESENT':
      return OutputSdt.sdtFollowIfPresent;
    case 'SDT_MANUAL':
      return OutputSdt.sdtManual;
    case 'SDT_NONE':
      return OutputSdt.sdtNone;
  }
  throw Exception('$this is not known in enum OutputSdt');
}