Optional<U> map2<T1, U>( Optional<T1> other, U Function(T, T1) f, ) => flatMap( (value) => other.map( (value1) => f(value, value1), ), );