fromValue static method

RTCDataChannelState fromValue(
  1. String value
)

Implementation

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