importModelFromPath abstract method

Future<MnnModelInfo> importModelFromPath(
  1. String directoryPath, {
  2. required bool replaceExisting,
})

Imports a model directory the app already owns (e.g. a finished download in private storage) without going through the SAF picker.

Implementation

Future<MnnModelInfo> importModelFromPath(
  String directoryPath, {
  required bool replaceExisting,
});