state property

Implementation

RTCDataChannelState get state =>
    RTCDataChannelState.fromValue(js_util.getProperty(this, 'state'));
set state (RTCDataChannelState newValue)

Implementation

set state(RTCDataChannelState newValue) {
  js_util.setProperty(this, 'state', newValue.value);
}