future property

Completes with the final progress (state LoadBundleTaskState.success) once the bundle is loaded, or with the error if loading failed.

The error is reported only to those who listen to this future; a failed task that nobody waits for does not cause an unhandled error.

Implementation

Future<LoadBundleTaskSnapshot> get future => _completion.future;