mapOk method

  1. @override
Err<T> mapOk(
  1. @noFutures Ok<T> noFutures(
    1. Ok<T> ok
    )
)
override

Transforms the inner Ok instance if this is an Ok.

Implementation

@override
@pragma('vm:prefer-inline')
Err<T> mapOk(@noFutures Ok<T> Function(Ok<T> ok) noFutures) {
  return this;
}