$allocate static method
Pointer<MpLanguageDetectorResult>
$allocate(
- Allocator $allocator, {
- required Pointer<
MpLanguageDetectorPrediction> predictions, - required int predictions_count,
Implementation
static ffi.Pointer<MpLanguageDetectorResult> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<MpLanguageDetectorPrediction> predictions,
required int predictions_count,
}) => $allocator<MpLanguageDetectorResult>()
..ref.predictions = predictions
..ref.predictions_count = predictions_count;