exportBackup method

Future<List<int>> exportBackup({
  1. String? dbName,
})

Export the entire database as raw bytes (backup).

Implementation

Future<List<int>> exportBackup({String? dbName}) async {
  final response = await client.exportBackup(ExportBackupRequest(
    dbName: dbName ?? defaultDBName,
  ));
  return response.data;
}