RemoteContentPack<T> constructor
RemoteContentPack<T> ({})
Legacy/source-compatible constructor — cache disabled, byte-for-byte the same public signature and behavior as before ENH-94. Use RemoteContentPack.withCache to opt into persistence.
Implementation
RemoteContentPack({
required this.assetPath,
required this.schemaVersion,
required this.fromJson,
this.migrate,
this.contentSecret,
this.fetchRemote,
AssetBundle? bundle,
}) : storage = null,
cacheKey = null,
maxCacheAge = null,
historyCapacity = null,
contentVersionResolver = null,
_bundle = bundle ?? rootBundle;