toUnit method

Option<Unit> toUnit()

Implementation

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