BundleDecoder class final

The BundleDecoder class is used to decode the data from a bundle.

Constructors

BundleDecoder(String assetPath)

Properties

assetPath String
There is local asset path from locally
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

crackBundle<T extends IAssetModel<T>, R>({required T model, AssetBundle? assetBundle}) Future<R?>
The function crackBundle loads a bundle and returns the decoded data, or throws an error if there is an exception.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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