future property

Future<T> get future

The future containing the method's result.

This can be accessed at any time, and will fire once runOnce is called.

Implementation

Future<T> get future => _completer.future;