successResult<T> function

Result<T> successResult<T>(
  1. T data
)

Returns a successful result with a value of type T.

Implementation

Result<T> successResult<T>(T data) => _SuccessResult(data);