MethodChannelAssetDelivery class

An implementation of AssetDeliveryPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
progressChannel MethodChannel
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetch(String assetPackName) Future<void>
Fetches the specified asset pack from the platform.
override
fetchAssetPackState(String assetPackName) Future<void>
Fetches the state of the specified asset pack.
override
getAssetPackPath({required String assetPackName, required int count, required String namingPattern, required String fileExtension}) Future<String?>
Gets the file path for the specified asset pack.
override
getAssetPackStatus(dynamic onUpdate(Map<String, dynamic>)) → void
Subscribes to asset pack status updates.
override
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

Static Properties

onStatusChange ↔ void Function(String status, double progress)?
getter/setter pair