getByValue static method

MDLDeviceEngagement? getByValue(
  1. int? i
)

Implementation

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