getInputNames method
Implementation
List<String> getInputNames() {
final p = calloc<ffi.Pointer<ffi.Pointer<ffi.Char>>>();
final length = C.mnn_module_info_get_input_names(ptr, p);
final rval = List.generate(length, (i) {
final s = p.value[i];
return s == ffi.nullptr ? "" : s.cast<Utf8>().toDartString();
});
calloc.free(p);
return rval;
}