toUnit method

Implementation

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