getPageRotation method

Future<int> getPageRotation(
  1. int pageNumber
)

Gets the rotation value of the specified page in the current document.

pageNumber is 1-indexed.

Implementation

Future<int> getPageRotation(int pageNumber) async {
  int pageRotation = await _channel.invokeMethod(Functions.getPageRotation,
      <String, dynamic>{Parameters.pageNumber: pageNumber});
  return pageRotation;
}