valueOf static method

EnvelopeType valueOf(
  1. int b
)

Implementation

static EnvelopeType valueOf(int b) {
  return values.firstWhere((v) => v.value == b);
}