restoreBackup static method

Future<void> restoreBackup({
  1. required String backupPath,
})

Initiates the restore process from the backup chat data url.

Example:

await Mirrorfly.restoreBackup();

Implementation

static Future<void> restoreBackup({required String backupPath}) {
  return FlyChatFlutterPlatform.instance
      .restoreBackup(backupPath: backupPath);
}