zip<U> method

  1. @override
Option<(T, U)> zip<U>(
  1. Option<U> other
)
override

Implementation

@override
Option<(T, U)> zip<U>(Option<U> other) =>
    other.isSome ? Some((value, other.unwrap())) : None();