errOr method

  1. @override
Result<T> errOr(
  1. Result<T> other
)
override

Returns this if it's Err, otherwise returns the other Result.

Implementation

@override
@pragma('vm:prefer-inline')
Result<T> errOr(Result<T> other) => this;