getByValue static method

LicensingResultCode? getByValue(
  1. int? i
)

Implementation

static LicensingResultCode? getByValue(int? i) {
  if (i == null) return null;
  return LicensingResultCode.values.firstWhere((x) => x.value == i);
}