import method

ImportResult import({
  1. List<String>? storeNames,
  2. ImportConflictStrategy strategy = ImportConflictStrategy.rename,
})

Imports specified stores and all necessary tiles into the current root

See ImportConflictStrategy to set how conflicts between existing and importing stores should be resolved. Defaults to ImportConflictStrategy.rename.

Implementation

ImportResult import({
  List<String>? storeNames,
  ImportConflictStrategy strategy = ImportConflictStrategy.rename,
}) =>
    FMTCBackendAccess.internal.importStores(
      path: pathToArchive,
      storeNames: storeNames,
      strategy: strategy,
    );