fromValue static method

MLDeviceType fromValue(
  1. String value
)

Implementation

static MLDeviceType fromValue(String value) =>
    values.firstWhere((e) => e.value == value);