and<U> method

  1. @override
Option<U> and<U>(
  1. Option<U> other
)
override

Returns None if the option is None, otherwise returns other.

Implementation

@override
Option<U> and<U>(Option<U> other) {
  return other;
}