$create$ method

Future<PairedInstance?> $create$(
  1. $PreviewController $instance, {
  2. required bool $owner,
  3. required $CaptureSession captureSession,
})

Implementation

Future<PairedInstance?> $create$(
  $PreviewController $instance, {
  required bool $owner,
  required $CaptureSession captureSession,
}) {
  return createNewInstancePair(
    $instance,
    <Object?>[
      '',
      captureSession,
    ],
    owner: $owner,
  );
}