Skip to main content

Flutter Backup Service

Functions

createBackup

Future<String?> createBackup()

Creates a full JSON backup of all locally stored SDK data and returns it as a string.

Parameters: None.

restore

Future<void> restore(String json)

Restores the SDK state from a backup JSON string.

Parameters:

  • json: String — Backup JSON string previously generated with createBackup().