cameras property

Return the available cameras

Note: Make sure to call this gettet after navigator.mediaDevices.getUserMedia(), otherwise the devices will not be listed.

Implementation

static Future<List<MediaDeviceInfo>> get cameras =>
    enumerateDevices('videoinput');