Future<void> clone(String newPath) async { if (path != null) { if (path == ":memory:") { debugPrint("Skipping backup for in memory db"); } else { await File(path!).copy(newPath); } } }