fromInt static method

ProgressionSource fromInt(
  1. int val
)

Implementation

static ProgressionSource fromInt(int val) {
  return ProgressionSource.values.firstWhere((e) => e.value == val, orElse: () => ProgressionSource.Undefined);
}