$create$ method

  1. @override
CaptureInputPort $create$(
  1. TypeChannelMessenger messenger,
  2. String mediaType,
  3. String? sourceDeviceType,
  4. int sourceDevicePosition,
)
override

Implementation

@override
CaptureInputPort $create$(
  TypeChannelMessenger messenger,
  String mediaType,
  String? sourceDeviceType,
  int sourceDevicePosition,
) {
  // ignore: invalid_use_of_visible_for_testing_member
  return CaptureInputPort(
    mediaType: mediaType,
    sourceDeviceType: sourceDeviceType,
    sourceDevicePosition: sourceDevicePosition,
  );
}