getPageText method
Implementation
PdfText getPageText(Pointer<MuPdfInst> ctx, int pageNumber) {
Pointer<Pointer<Utf8>> j = calloc<Pointer<Utf8>>();
Pointer<Int32> l = calloc<Int32>();
pdflib.getPageText(ctx, pageNumber, j, l);
String ret = j.value.toDartString(length: l.value);
calloc.free(j);
calloc.free(l);
var d = jsonDecode(ret);
return PdfText.fromJson(d);
}