getByValue static method

PackageUpdateStatus getByValue(
  1. int value
)

Implementation

static PackageUpdateStatus getByValue(int value) {
  return PackageUpdateStatus.values.firstWhere((x) => x.rawValue == value);
}