deleteBackup method

Future<void> deleteBackup()

Deletes the existing backup file.

Implementation

Future<void> deleteBackup() async {
  try {
    final file = await _localFile;
    await file.delete();
    print("Backup deleted.");
  } catch (e) {
    print(_notFoundErrorMessage);
    print(e.toString());
    return;
  }
}