toApplicationRevisionSortBy method

ApplicationRevisionSortBy toApplicationRevisionSortBy()

Implementation

ApplicationRevisionSortBy toApplicationRevisionSortBy() {
  switch (this) {
    case 'registerTime':
      return ApplicationRevisionSortBy.registerTime;
    case 'firstUsedTime':
      return ApplicationRevisionSortBy.firstUsedTime;
    case 'lastUsedTime':
      return ApplicationRevisionSortBy.lastUsedTime;
  }
  throw Exception('$this is not known in enum ApplicationRevisionSortBy');
}