fromNativeArray static method
Accepts a pointer to a list of structs, and a count representing the length
of the list, and returns a list of pure-Dart Category instances.
Implementation
static Iterable<LanguagePrediction> fromNativeArray(
Pointer<bindings.LanguageDetectorPrediction> structs,
int count,
) sync* {
for (int i = 0; i < count; i++) {
yield LanguagePrediction.native(structs + i);
}
}