Future<String> get text async { final String? text = await PDFDoc._channel.invokeMethod('getDocPageText', { 'path': doc.path, 'number': number, 'password': doc.password, }); return text ?? ""; }