fromValue static method

HIDUnitSystem fromValue(
  1. String value
)

Implementation

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