liteRtLmCacheDirPrefix function
The part of liteRtLmCacheDirName that names the file: the first 8 hex digits of the SHA-256 of its name. Directories with this prefix and another size or time are stale copies of the same file.
Implementation
String liteRtLmCacheDirPrefix(String modelFileName) =>
sha256.convert(utf8.encode(modelFileName)).toString().substring(0, 8);