rotatePage method
Implementation
Future<bool> rotatePage(int pageIndex, int degrees) async {
attach();
final UPdfEdit? edit = _edit;
if (edit == null) return false;
await edit.rotatePage(pageIndex, degrees);
viewer.invalidateAll();
notifyListeners();
return true;
}