toPersonTrackingSortBy method

PersonTrackingSortBy toPersonTrackingSortBy()

Implementation

PersonTrackingSortBy toPersonTrackingSortBy() {
  switch (this) {
    case 'INDEX':
      return PersonTrackingSortBy.$index;
    case 'TIMESTAMP':
      return PersonTrackingSortBy.timestamp;
  }
  throw Exception('$this is not known in enum PersonTrackingSortBy');
}