$create$ method

Future<PairedInstance?> $create$(
  1. $CaptureDeviceDiscoverySession $instance, {
  2. required bool $owner,
  3. required List<$CaptureDevice> devices,
  4. required List<List<$CaptureDevice>> supportedMultiCamDeviceSets,
})

Implementation

Future<PairedInstance?> $create$(
  $CaptureDeviceDiscoverySession $instance, {
  required bool $owner,
  required List<$CaptureDevice> devices,
  required List<List<$CaptureDevice>> supportedMultiCamDeviceSets,
}) {
  return createNewInstancePair(
    $instance,
    <Object?>[
      '',
      devices,
      supportedMultiCamDeviceSets,
    ],
    owner: $owner,
  );
}