ifSome method
Performs a side-effect with the contained value if this is a Some.
Implementation
@override
@pragma('vm:prefer-inline')
Ok<None<T>> ifSome(
@noFuturesAllowed void Function(Some<T> some) noFuturesAllowed,
) {
return Ok(this);
}
Performs a side-effect with the contained value if this is a Some.
@override
@pragma('vm:prefer-inline')
Ok<None<T>> ifSome(
@noFuturesAllowed void Function(Some<T> some) noFuturesAllowed,
) {
return Ok(this);
}