getAll method
Implementation
Stream<PDFPage?> getAll({final Function(double)? onZoomChanged}) {
return Future.forEach<PDFPage?>(List.filled(count, null), (i) async {
final data = kIsWeb ? await getPageWeb(i as int,filePathPublic!) : await _channel
.invokeMethod('getPage', {'filePath': filePathPublic, 'pageNumber': i});
return PDFPage(
data as String?,
1,
onZoomChanged: onZoomChanged,
);
}).asStream() as Stream<PDFPage?>;
}