or method

Future<Option<T>> or(
  1. Option<T> optb
)

Returns the option if it contains a value, otherwise returns optb.

Implementation

Future<Option<T>> or(Option<T> optb) => then((v) => v.or(optb));