toFilterAction method

FilterAction toFilterAction()

Implementation

FilterAction toFilterAction() {
  switch (this) {
    case 'NOOP':
      return FilterAction.noop;
    case 'ARCHIVE':
      return FilterAction.archive;
  }
  throw Exception('$this is not known in enum FilterAction');
}