fromValue static method

MIDIPortDeviceState fromValue(
  1. String value
)

Implementation

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