applyConstraints property

Future<void> Function([MediaTrackConstraints?]) get applyConstraints

Implementation

_i2.Future<void> Function([_i3.MediaTrackConstraints?])
    get applyConstraints => ([_i3.MediaTrackConstraints? p0]) =>
        _i4.promiseToFuture(_i4.callMethod(
          _i4.getProperty(
            this,
            'applyConstraints',
          ),
          r'call',
          [
            this,
            p0 ?? _i6.undefined,
          ],
        ));
set applyConstraints (Future<void> value([MediaTrackConstraints?]))

Implementation

set applyConstraints(
    _i2.Future<void> Function([_i3.MediaTrackConstraints?]) value) {
  _i4.setProperty(
    this,
    'applyConstraints',
    _i4.allowInterop(value),
  );
}