toOrderBy method

OrderBy toOrderBy()

Implementation

OrderBy toOrderBy() {
  switch (this) {
    case 'LogStreamName':
      return OrderBy.logStreamName;
    case 'LastEventTime':
      return OrderBy.lastEventTime;
  }
  throw Exception('$this is not known in enum OrderBy');
}