getByValue static method

TransactionType getByValue(
  1. num i
)

Implementation

static TransactionType getByValue(num i) {
  return TransactionType.values.firstWhere((x) => x.value == i);
}