toUnit method

Implementation

@visibleForTesting
@pragma('vm:prefer-inline')
Option<Unit> toUnit() => map((_) => Unit());