and<S2> method

  1. @override
Result<S2, F> and<S2>(
  1. Result<S2, F> other
)
override

Performs an "and" operation on the results. Returns the first result that is Err, otherwise if both are Ok, other Ok Result is returned.

Implementation

@override
@pragma("vm:prefer-inline")
Result<S2, F> and<S2>(Result<S2, F> other) {
  return other;
}