$create$ method
Future<PairedInstance?>
$create$(
- $CaptureInputPort $instance, {
- required bool $owner,
- required String mediaType,
- required String? sourceDeviceType,
- required int sourceDevicePosition,
Implementation
Future<PairedInstance?> $create$(
$CaptureInputPort $instance, {
required bool $owner,
required String mediaType,
required String? sourceDeviceType,
required int sourceDevicePosition,
}) {
return createNewInstancePair(
$instance,
<Object?>[
'',
mediaType,
sourceDeviceType,
sourceDevicePosition,
],
owner: $owner,
);
}