getByValue static method

MDLDeviceRetrieval? getByValue(
  1. int? i
)

Implementation

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