getModelFilePath method

Future<String> getModelFilePath()

Returns the absolute path to the downloaded model file.

Implementation

Future<String> getModelFilePath() async {
  final dir = await getStorageDirectory();
  return p.join(dir.path, defaultModelFileName);
}