$allocate static method
Pointer<MpFaceDetectorResult>
$allocate(
- Allocator $allocator, {
- required Pointer<
MpDetection> detections, - required int detections_count,
Implementation
static ffi.Pointer<MpDetectionResult> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<MpDetection> detections,
required int detections_count,
}) => $allocator<MpDetectionResult>()
..ref.detections = detections
..ref.detections_count = detections_count;