mediaDevices top-level property

dynamic get mediaDevices

Provides access to connected media input devices like cameras and microphones, as well as screen sharing. In essence, it lets you obtain access to any hardware source of media data. Available only in secure contexts.

MDN Reference

Implementation

_i2.dynamic get mediaDevices => _i4.getProperty(
      _self,
      'MediaDevices',
    );