mapSome method

  1. @override
Some<T> mapSome(
  1. @noFuturesAllowed Some<T> noFuturesAllowed(
    1. Some<T> some
    )
)
override

Transforms the inner Some instance if this is a Some.

Implementation

@override
@pragma('vm:prefer-inline')
Some<T> mapSome(
  @noFuturesAllowed Some<T> Function(Some<T> some) noFuturesAllowed,
) {
  return noFuturesAllowed(this);
}