fromValue static method

PressureSource fromValue(
  1. String value
)

Implementation

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