copySync static method

void copySync(
  1. {required String from,
  2. required String name,
  3. DatabaseConfiguration? config}
)

Copies a canned database from the given path to a new database with the given name and config.

The new database will be created at the directory specified in the config.

Implementation

static void copySync({
  required String from,
  required String name,
  DatabaseConfiguration? config,
}) =>
    SyncDatabase.copy(from: from, name: name, config: config);