close method
Before open another page it is necessary to close the previous.
The android platform does not allow parallel rendering.
Implementation
Future<void> close() => _lock.synchronized(() async {
if (isClosed) {
throw PdfPageAlreadyClosedException();
} else {
isClosed = true;
}
return _channel.invokeMethod('close.page', id);
});