toFlexMatchMode method

FlexMatchMode toFlexMatchMode()

Implementation

FlexMatchMode toFlexMatchMode() {
  switch (this) {
    case 'STANDALONE':
      return FlexMatchMode.standalone;
    case 'WITH_QUEUE':
      return FlexMatchMode.withQueue;
  }
  throw Exception('$this is not known in enum FlexMatchMode');
}