toUnit method

Result<Unit> toUnit()

Implementation

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