fromValue static method

MoneroWordsNum fromValue(
  1. int? value
)

Implementation

static MoneroWordsNum fromValue(int? value) {
  return values.firstWhere((e) => e.value == value,
      orElse: () =>
          throw ExceptionConst.itemNotFound(item: "Monero words number"));
}