IMovaSttModelDirProvider class abstract

Resolves the on-disk directory downloaded STT model files are cached in.

Kept as a port for the same reason as IMovaThumbDirProvider: the default answer needs path_provider (getApplicationSupportDirectory()), a Flutter plugin that must not be imported from lib/src/core/**. The concrete implementation lives in lib/src/platform_impl/stt_model_dir_impl.dart.

解析已下载 STT 模型文件的磁盘缓存目录。

做成端口的原因与 IMovaThumbDirProvider 相同:默认答案需要 path_provider (getApplicationSupportDirectory())——它是 Flutter 插件, lib/src/core/** 下不允许引入。具体实现放在 lib/src/platform_impl/stt_model_dir_impl.dart。

Implementers

Constructors

IMovaSttModelDirProvider()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve() → Future<String>
Returns the absolute path of the cache directory; the caller creates it if it does not exist yet.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited