toUnit method

Implementation

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