orAsync method

  1. @override
Future<T> orAsync(
  1. Future<T> defaultValue
)
override

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

Implementation

@override
Future<T> orAsync(Future<T> defaultValue) async => value;