toInputFilter method

InputFilter toInputFilter()

Implementation

InputFilter toInputFilter() {
  switch (this) {
    case 'AUTO':
      return InputFilter.auto;
    case 'DISABLED':
      return InputFilter.disabled;
    case 'FORCED':
      return InputFilter.forced;
  }
  throw Exception('$this is not known in enum InputFilter');
}