typeOfValue static method

QChatSubscribeType? typeOfValue(
  1. int value
)

Implementation

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