FMTC Docs
Current
Search…
⌃K
Links

Importing

fmtc_plus_sharing Module

With User Interface (withGUI)

FMTC.instance.rootDirectory.import.withGUI(
fileExtension: String,
emptyCacheBeforePicking: bool,
overwriteExistingStore: bool,
);
This method displays a platform specific file picker to the user, who can pick one or multiple stores to import (multiple stores will be imported simultaneously).

With A Known File (manual)

FMTC.instance.rootDirectory.import.manual(File('inputFilePath.fmtc'));
This method imports a store when given the path of it's existing file.
© Luka Stillingfleet (JaffaKetchup) | 2023