getAssetAbsolutePath method
- String assetPath
Get the actual absolute path of the asset through the relative path of the asset
assetPathThe resource path configured in theflutter->assetsfield of pubspec.yaml, for example: assets/icon/setting.png- Returns the actual absolute path of the asset
Implementation
Future<String?> getAssetAbsolutePath(String assetPath) async {
return await ZegoExpressImpl.methodChannel
.invokeMethod('getAssetAbsolutePath', {'assetPath': assetPath});
}