Result<ResultType>.success constructor

const Result<ResultType>.success(
  1. ResultType data
)

Type representing the Success case of a Result of a asynchronus task possible outcome

Implementation

const factory Result.success(ResultType data) = Success<ResultType>;