initFromBytes method

Future<void> initFromBytes(
  1. Uint8List bytes
)

Loads a model directly from bytes (e.g. downloaded at runtime).

Always reloads — no caching by content.

Implementation

Future<void> initFromBytes(Uint8List bytes) {
  _initFuture = _loadFromBytesImpl(bytes, cacheKey: null);
  return _initFuture;
}