degradationPreference property

RTCDegradationPreference? get degradationPreference

Implementation

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

Implementation

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