orGetAsync method

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

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

Implementation

@override
Future<T> orGetAsync(Future<T> Function() producer) async => producer();