loadUSDZFileFromPath method
Implementation
@override
Future<bool> loadUSDZFileFromPath(String path) async {
try {
final result = await methodChannel.invokeMethod<bool>('loadUSDZFile', {
'path': path,
'isUrl': false,
});
return result ?? false;
} on PlatformException catch (e) {
print('Error loading USDZ file from path: ${e.message}');
return false;
}
}