isModelAlreadyLoaded method
Check if the model with the modelName is already loaded.
Implementation
Future<bool> isModelAlreadyLoaded(final String modelName) async {
final decompressionPath = modelStorage ?? await _defaultDecompressionPath();
if (Directory(path.join(decompressionPath, modelName)).existsSync()) {
return true;
}
return false;
}