# movePage method

Future<DocumentData> movePage(

1. MovePageParams params

)

Move a page in a document and return the updated document.

## Implementation

    Future<DocumentData> movePage(MovePageParams params) async {
      try {
        var result =
            await ScanbotSdk.channel.invokeMethod('movePage', params.toJson());

        return DocumentData.fromJson(jsonDecode(result));
      } catch (e) {
        Logger.root.severe(e);
        rethrow;
      }
    }