AsyncResult<T>.success constructor

const AsyncResult<T>.success(
  1. T value
)

Creates a Success result.

Implementation

const factory AsyncResult.success(T value) = Success<T>._;