backup Wallet
Backs up the wallet share using the specified backup method.
This function initiates the backup process for the wallet share stored on the device. It supports different backup methods, including Google Drive and password-based encryption.
Return
A BackupWalletResponse object containing the result of the backup operation.
Parameters
The method to use for backing up the wallet. Defaults to BackupMethods.Gdrive. Other available options are defined in the BackupMethods enum.
Optional configuration settings for the backup process. If using BackupMethods.Password, this should contain the password. If using other methods, this can be null.
A callback function to receive updates on the backup progress. It receives an MpcStatus object representing the current status. Defaults to an empty function that does nothing.