typeOfValue static method

QChatServerSearchSortEnum? typeOfValue(
  1. int value
)

Implementation

static QChatServerSearchSortEnum? typeOfValue(int value) {
  for (QChatServerSearchSortEnum e in QChatServerSearchSortEnum.values) {
    if (e.value() == value) {
      return e;
    }
  }
  return null;
}