orGetAsync abstract method

Future<T> orGetAsync(
  1. Future<T> producer()
)

Returns a Future of the wrapped value (if present), or the result of the producer.

Implementation

Future<T> orGetAsync(Future<T> Function() producer);