Sync<T extends Object>.okValue constructor

Sync<T extends Object>.okValue(
  1. T okValue
)

Implementation

Sync.okValue(T okValue)
  : assert(!isSubtype<T, Future<Object>>(), '$T must never be a Future.'),
    super.ok(Ok(okValue));