getFileFromApplicationUriAsync static method
Implementation
static Future<StorageFile?> getFileFromApplicationUriAsync(Uri uri) {
final activationFactoryPtr =
CreateActivationFactory(_className, IID_IStorageFileStatics);
final object = IStorageFileStatics.fromRawPointer(activationFactoryPtr);
try {
return object.getFileFromApplicationUriAsync(uri);
} finally {
object.release();
}
}