fromValue static method

MIDIPortType fromValue(
  1. String value
)

Implementation

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