mapOr<U> method
Implementation
Future<U> mapOr<U>(U defaultValue, U Function(T) f) {
return then((option) => option.isSome() ? f(option as T) : defaultValue);
}
Future<U> mapOr<U>(U defaultValue, U Function(T) f) {
return then((option) => option.isSome() ? f(option as T) : defaultValue);
}