mapOr<U> method
Implementation
@pragma("vm:prefer-inline")
Future<U> mapOr<U>(U defaultValue, U Function(T) f) {
return then((option) => switch (option) {
Some(:final v) => f(v),
_ => defaultValue,
});
// return then((option) => option.isSome() ? f(option) : defaultValue);
}