toInputDenoiseFilter method

InputDenoiseFilter toInputDenoiseFilter()

Implementation

InputDenoiseFilter toInputDenoiseFilter() {
  switch (this) {
    case 'ENABLED':
      return InputDenoiseFilter.enabled;
    case 'DISABLED':
      return InputDenoiseFilter.disabled;
  }
  throw Exception('$this is not known in enum InputDenoiseFilter');
}