toChronologicalOrder method

ChronologicalOrder toChronologicalOrder()

Implementation

ChronologicalOrder toChronologicalOrder() {
  switch (this) {
    case 'Reverse':
      return ChronologicalOrder.reverse;
    case 'Forward':
      return ChronologicalOrder.forward;
  }
  throw Exception('$this is not known in enum ChronologicalOrder');
}