$create$ method
CaptureDeviceDiscoverySession
$create$(
- TypeChannelMessenger messenger,
- List<
$CaptureDevice> devices, - List<
List< supportedMultiCamDeviceSets$CaptureDevice> >
override
Implementation
@override
CaptureDeviceDiscoverySession $create$(
TypeChannelMessenger messenger,
List<$CaptureDevice> devices,
List<List<$CaptureDevice>> supportedMultiCamDeviceSets,
) {
// ignore: invalid_use_of_visible_for_testing_member
return CaptureDeviceDiscoverySession(
devices: devices.cast<CaptureDevice>(),
supportedMultiCamDeviceSets: supportedMultiCamDeviceSets
.map((_) => _.map((_) => _ as CaptureDevice).toSet())
.toList(),
);
}