fromValue static method

ExceptionType fromValue(
  1. int value
)

Implementation

static ExceptionType fromValue(int value) =>
    ExceptionType.values.firstWhere((e) => e.value == value);