ResultWrapper<T>.success constructor

ResultWrapper<T>.success(
  1. T value
)

Implementation

ResultWrapper.success(T value) {
  this.operationResult = OperationResult.SUCCESS;
  this.value = value;
}