successResult<T> function
Returns a successful result with a value of type T
.
Implementation
Result<T> successResult<T>(T data) => _SuccessResult(data);
Returns a successful result with a value of type T
.
Result<T> successResult<T>(T data) => _SuccessResult(data);