clone method

Future<void> clone(
  1. String newPath
)

Implementation

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);
    }
  }
}