fromValue static method

FrustbiteErrorCode fromValue(
  1. int value
)

Implementation

static FrustbiteErrorCode fromValue(int value) => values.firstWhere(
  (e) => e.value == value,
  orElse: () => FrustbiteErrorCode.unknown,
);