mapNone abstract method
Transforms the inner None instance if this is a None.
All None<T> instances are structurally identical (no value), so a
caller-supplied transformer has nothing meaningful to change. Provided
for pair-axis symmetry with mapSome and Result.mapErr — real code
almost always wants fold or ifNone instead.
Implementation
@visibleForTesting
Option<T> mapNone(@noFutures None<T> Function(None<T> none) noFutures);