direction property

Implementation

_i3.RTCRtpTransceiverDirection? get direction => switch (_i4.getProperty(
      this,
      'direction',
    )) {
      _i2.String name =>
        _i3.RTCRtpTransceiverDirectionOptions.values.byName(name),
      _ => null
    };
set direction (RTCRtpTransceiverDirection? value)

Implementation

set direction(_i3.RTCRtpTransceiverDirection? value) {
  _i4.setProperty(
    this,
    'direction',
    value?.name ?? _i6.undefined ?? _i6.undefined,
  );
}