$create$ method

Future<PairedInstance?> $create$(
  1. $CaptureConnection $instance, {
  2. required bool $owner,
  3. required List<$CaptureInputPort> inputPorts,
  4. required $CaptureOutput output,
})

Implementation

Future<PairedInstance?> $create$(
  $CaptureConnection $instance, {
  required bool $owner,
  required List<$CaptureInputPort> inputPorts,
  required $CaptureOutput output,
}) {
  return createNewInstancePair(
    $instance,
    <Object?>[
      '',
      inputPorts,
      output,
    ],
    owner: $owner,
  );
}